X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ec799d60f6cd3f41041b57efe3963c28dda94d4a..a8c33a5850cd9d2f39e56c06b645c283225d78c4:/ipproto.h diff --git a/ipproto.h b/ipproto.h index 96407541..699ea61a 100644 --- a/ipproto.h +++ b/ipproto.h @@ -30,14 +30,13 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/tcpdump/ipproto.h,v 1.6 2005-09-20 06:01:22 guy Exp $ (LBL) - * * From: * @(#)in.h 8.3 (Berkeley) 1/3/94 * $FreeBSD: src/sys/netinet/in.h,v 1.38.2.3 1999/08/29 16:29:34 peter Exp $ */ extern const struct tok ipproto_values[]; +extern const char *netdb_protoname (const uint8_t); #ifndef IPPROTO_IP #define IPPROTO_IP 0 /* dummy for IP */ @@ -111,7 +110,7 @@ extern const struct tok ipproto_values[]; * It appears that 62 used to be used, even though that's assigned to * a protocol called CFTP; however, the only reference for CFTP is a * Network Message from BBN back in 1982, so, for now, we support 62, - * aas well as 135, as a protocol number for mobility headers. + * as well as 135, as a protocol number for mobility headers. */ #define IPPROTO_MOBILITY_OLD 62 #endif @@ -131,7 +130,7 @@ extern const struct tok ipproto_values[]; #define IPPROTO_IPCOMP 108 #endif #ifndef IPPROTO_VRRP -#define IPPROTO_VRRP 112 +#define IPPROTO_VRRP 112 /* See also CARP. */ #endif #ifndef IPPROTO_PGM #define IPPROTO_PGM 113