diff options
author | hannes <hannes> | 2006-03-23 14:58:44 +0000 |
---|---|---|
committer | hannes <hannes> | 2006-03-23 14:58:44 +0000 |
commit | 5636348412ff1463a2b26f035237cf7cedef5cab (patch) | |
tree | 462be41ea2a72960a23172c72b1a7f50635b0dea /af.c | |
parent | 3820594d702f863088754f590546f21cfe3c562c (diff) | |
download | tcpdump-5636348412ff1463a2b26f035237cf7cedef5cab.tar.gz |
move the BSD AF defs into af.h and make the null and rip printer make use of it
Diffstat (limited to 'af.c')
-rw-r--r-- | af.c | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -17,7 +17,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/af.c,v 1.2 2006-02-27 07:25:27 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/af.c,v 1.3 2006-03-23 14:58:44 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -49,3 +49,15 @@ struct tok af_values[] = { { AFNUM_VPLS, "VPLS"}, { 0, NULL}, }; + +struct tok bsd_af_values[] = { + { BSD_AFNUM_INET, "IPv4" }, + { BSD_AFNUM_NS, "NS" }, + { BSD_AFNUM_ISO, "ISO" }, + { BSD_AFNUM_APPLETALK, "Appletalk" }, + { BSD_AFNUM_IPX, "IPX" }, + { BSD_AFNUM_INET6_BSD, "IPv6" }, + { BSD_AFNUM_INET6_FREEBSD, "IPv6" }, + { BSD_AFNUM_INET6_DARWIN, "IPv6" }, + { 0, NULL} +}; |