]> The Tcpdump Group git mirrors - tcpdump/commit
Add comments about the IGRP/EIGRP protocol number and #define mess.
authorGuy Harris <[email protected]>
Tue, 7 Jan 2025 07:23:21 +0000 (23:23 -0800)
committerGuy Harris <[email protected]>
Tue, 7 Jan 2025 07:23:21 +0000 (23:23 -0800)
commitd4218cd10f5e42b496afb135238cd7f098ff3387
treea17f8b883f9203a664006a41dd01f821c0707265
parent4b7d5a255b22717afb6052645343d59669811fd6
Add comments about the IGRP/EIGRP protocol number and #define mess.

The current IANA protocol number assignments page lists 9 as "any
private interior gateway (used by Cisco for their IGRP)" and 88 as
"EIGRP" from Cisco.

Recent FreeBSD and DragonFly BSD <netinet/in.h> headers define
IP_PROTO_IGRP as 9 and IP_PROTO_IGRP as 88.  We define IP_PROTO_PIGP
("private interior gateway protocol") as 9 and IP_PROTO_EIGRP as 88;
those names* better match what the current protocol number assignments
say.
ipproto.h
print-ip-demux.c