X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/5636348412ff1463a2b26f035237cf7cedef5cab..b51a0dafc7861eb31d21524ec067d7c529a664b8:/af.c diff --git a/af.c b/af.c index e3c77bf3..1153f102 100644 --- a/af.c +++ b/af.c @@ -12,23 +12,18 @@ * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE. * - * Original code by Hannes Gredler (hannes@juniper.net) + * Original code by Hannes Gredler (hannes@gredler.at) */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/af.c,v 1.3 2006-03-23 14:58:44 hannes Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H -#include "config.h" +#include #endif -#include -#include "interface.h" +#include "netdissect-stdinc.h" +#include "netdissect.h" #include "af.h" -struct tok af_values[] = { +const struct tok af_values[] = { { 0, "Reserved"}, { AFNUM_INET, "IPv4"}, { AFNUM_INET6, "IPv6"}, @@ -50,7 +45,7 @@ struct tok af_values[] = { { 0, NULL}, }; -struct tok bsd_af_values[] = { +const struct tok bsd_af_values[] = { { BSD_AFNUM_INET, "IPv4" }, { BSD_AFNUM_NS, "NS" }, { BSD_AFNUM_ISO, "ISO" },