Explicitly request literal mode after .Xr.
[netbsd-mini2440.git] / dist / tcpdump / af.h
blobbf7af92334c21ee615e353f97af08da87e484879
1 /* $NetBSD$ */
3 /* @(#) Header: /tcpdump/master/tcpdump/af.h,v 1.3.2.1 2007/02/26 13:33:17 hannes Exp (LBL) */
5 /*
6 * Copyright (c) 1998-2006 The TCPDUMP project
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that: (1) source code
10 * distributions retain the above copyright notice and this paragraph
11 * in its entirety, and (2) distributions including binary code include
12 * the above copyright notice and this paragraph in its entirety in
13 * the documentation or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
15 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
16 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
17 * FOR A PARTICULAR PURPOSE.
19 * Original code by Hannes Gredler (hannes@juniper.net)
22 extern struct tok af_values[];
23 extern struct tok bsd_af_values[];
25 /* RFC1700 address family numbers */
26 #define AFNUM_INET 1
27 #define AFNUM_INET6 2
28 #define AFNUM_NSAP 3
29 #define AFNUM_HDLC 4
30 #define AFNUM_BBN1822 5
31 #define AFNUM_802 6
32 #define AFNUM_E163 7
33 #define AFNUM_E164 8
34 #define AFNUM_F69 9
35 #define AFNUM_X121 10
36 #define AFNUM_IPX 11
37 #define AFNUM_ATALK 12
38 #define AFNUM_DECNET 13
39 #define AFNUM_BANYAN 14
40 #define AFNUM_E164NSAP 15
41 #define AFNUM_VPLS 25
42 /* draft-kompella-ppvpn-l2vpn */
43 #define AFNUM_L2VPN 196 /* still to be approved by IANA */
46 * BSD AF_ values.
48 * Unfortunately, the BSDs don't all use the same value for AF_INET6,
49 * so, because we want to be able to read captures from all of the BSDs,
50 * we check for all of them.
52 #define BSD_AFNUM_INET 2
53 #define BSD_AFNUM_NS 6 /* XEROX NS protocols */
54 #define BSD_AFNUM_ISO 7
55 #define BSD_AFNUM_APPLETALK 16
56 #define BSD_AFNUM_IPX 23
57 #define BSD_AFNUM_INET6_BSD 24 /* OpenBSD (and probably NetBSD), BSD/OS */
58 #define BSD_AFNUM_INET6_FREEBSD 28
59 #define BSD_AFNUM_INET6_DARWIN 30