X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/dcd2814277ecdf754688152d16b7d22a0b365e29..refs/heads/tcpdump-4.1:/ipproto.c diff --git a/ipproto.c b/ipproto.c index 3bb628ae..644b3642 100755 --- a/ipproto.c +++ b/ipproto.c @@ -15,7 +15,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/ipproto.c,v 1.4 2005-05-14 00:42:28 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/ipproto.c,v 1.6 2005-09-20 06:01:22 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -27,7 +27,7 @@ static const char rcsid[] _U_ = #include "interface.h" #include "ipproto.h" -struct tok ipproto_values[] = { +const struct tok ipproto_values[] = { { IPPROTO_HOPOPTS, "Options" }, { IPPROTO_ICMP, "ICMP" }, { IPPROTO_IGMP, "IGMP" }, @@ -36,6 +36,7 @@ struct tok ipproto_values[] = { { IPPROTO_EGP, "EGP" }, { IPPROTO_PIGP, "IGRP" }, { IPPROTO_UDP, "UDP" }, + { IPPROTO_DCCP, "DCCP" }, { IPPROTO_IPV6, "IPv6" }, { IPPROTO_ROUTING, "Routing" }, { IPPROTO_FRAGMENT, "Fragment" }, @@ -51,6 +52,7 @@ struct tok ipproto_values[] = { { IPPROTO_PIM, "PIM" }, { IPPROTO_IPCOMP, "Compressed IP" }, { IPPROTO_VRRP, "VRRP" }, + { IPPROTO_PGM, "PGM" }, { IPPROTO_SCTP, "SCTP" }, { IPPROTO_MOBILITY, "Mobility" }, { 0, NULL }