Explicitly request literal mode after .Xr.
[netbsd-mini2440.git] / dist / tcpdump / ipproto.c
blob678767d8e3faf9725de4ecb5c2e058e19b3dbda2
1 /* $NetBSD: ipproto.c,v 1.2 2007/07/24 11:53:39 drochner Exp $ */
3 /*
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that: (1) source code
6 * distributions retain the above copyright notice and this paragraph
7 * in its entirety, and (2) distributions including binary code include
8 * the above copyright notice and this paragraph in its entirety in
9 * the documentation or other materials provided with the distribution.
10 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
11 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
13 * FOR A PARTICULAR PURPOSE.
15 * Original code by Hannes Gredler (hannes@juniper.net)
18 #include <sys/cdefs.h>
19 #ifndef lint
20 #if 0
21 static const char rcsid[] _U_ =
22 "@(#) Header: /tcpdump/master/tcpdump/ipproto.c,v 1.3.2.3 2005/09/20 06:05:37 guy Exp (LBL)";
23 #else
24 __RCSID("$NetBSD: ipproto.c,v 1.2 2007/07/24 11:53:39 drochner Exp $");
25 #endif
26 #endif
28 #ifdef HAVE_CONFIG_H
29 #include "config.h"
30 #endif
32 #include <tcpdump-stdinc.h>
34 #include "interface.h"
35 #include "ipproto.h"
37 struct tok ipproto_values[] = {
38 { IPPROTO_HOPOPTS, "Options" },
39 { IPPROTO_ICMP, "ICMP" },
40 { IPPROTO_IGMP, "IGMP" },
41 { IPPROTO_IPV4, "IPIP" },
42 { IPPROTO_TCP, "TCP" },
43 { IPPROTO_EGP, "EGP" },
44 { IPPROTO_PIGP, "IGRP" },
45 { IPPROTO_UDP, "UDP" },
46 { IPPROTO_DCCP, "DCCP" },
47 { IPPROTO_IPV6, "IPv6" },
48 { IPPROTO_ROUTING, "Routing" },
49 { IPPROTO_FRAGMENT, "Fragment" },
50 { IPPROTO_RSVP, "RSVP" },
51 { IPPROTO_GRE, "GRE" },
52 { IPPROTO_ESP, "ESP" },
53 { IPPROTO_AH, "AH" },
54 { IPPROTO_MOBILE, "Mobile IP" },
55 { IPPROTO_ICMPV6, "ICMPv6" },
56 { IPPROTO_MOBILITY_OLD, "Mobile IP (old)" },
57 { IPPROTO_EIGRP, "EIGRP" },
58 { IPPROTO_OSPF, "OSPF" },
59 { IPPROTO_PIM, "PIM" },
60 { IPPROTO_IPCOMP, "Compressed IP" },
61 { IPPROTO_VRRP, "VRRP" },
62 { IPPROTO_PGM, "PGM" },
63 { IPPROTO_SCTP, "SCTP" },
64 { IPPROTO_MOBILITY, "Mobility" },
65 { IPPROTO_PFSYNC, "PFSYNC" },
66 { 0, NULL }