X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/8c98c4eb4b0aded15e059a915aa3e07fce21e4ff..b42fd30f1dcd7943335215d97c4b3a80f88e28be:/interface.h?ds=sidebyside diff --git a/interface.h b/interface.h index 5819281e..27489e0d 100644 --- a/interface.h +++ b/interface.h @@ -18,7 +18,7 @@ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.173 2001-10-03 07:35:42 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/tcpdump/interface.h,v 1.176 2001-11-25 01:48:47 guy Exp $ (LBL) */ #ifndef tcpdump_interface_h @@ -151,6 +151,9 @@ extern void relts_print(int); extern int fn_print(const u_char *, const u_char *); extern int fn_printn(const u_char *, u_int, const u_char *); extern const char *tok2str(const struct tok *, const char *, int); +extern const char *tok2strary_internal(const char **, int, const char *, int); +#define tok2strary(a,f,i) tok2strary_internal(a, sizeof(a)/sizeof(a[0]),f,i) + extern const char *dnaddr_string(u_short); extern void info(int); @@ -170,6 +173,7 @@ extern void safeputs(const char *); extern const char *isonsap_string(const u_char *); extern const char *llcsap_string(u_char); extern const char *protoid_string(const u_char *); +extern const char *ipxsap_string(u_short); extern const char *dnname_string(u_short); extern const char *dnnum_string(u_short); @@ -292,7 +296,7 @@ extern int hbhopt_print(const u_char *); extern int dstopt_print(const u_char *); extern int frag6_print(const u_char *, const u_char *); extern void icmp6_print(const u_char *, const u_char *); -extern void ripng_print(const u_char *, int); +extern void ripng_print(const u_char *, unsigned int); extern int rt6_print(const u_char *, const u_char *); extern void ospf6_print(const u_char *, u_int); extern void dhcp6_print(const u_char *, u_int, u_int16_t, u_int16_t);