X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e1fd57e0849de3b53eba7b380ce978f87de88e9c..1bcd37991fa57d9e966a6f96e7cbff59b16c28bd:/netdissect.h diff --git a/netdissect.h b/netdissect.h index e288d031..854fb8a5 100644 --- a/netdissect.h +++ b/netdissect.h @@ -395,6 +395,7 @@ extern int nd_print(netdissect_options *, const u_char *, const u_char *); extern u_int nd_printztn(netdissect_options *, const u_char *, u_int, const u_char *); extern int nd_printn(netdissect_options *, const u_char *, u_int, const u_char *); extern int nd_printzp(netdissect_options *, const u_char *, u_int, const u_char *); +extern void nd_printjnp(netdissect_options *, const u_char *, u_int); /* * Flags for txtproto_print(). @@ -462,7 +463,7 @@ extern const struct tok *uint2tokary_internal(const struct uint_tokary[], const extern if_printer lookup_printer(int); -#define ND_DEBUG {printf(" [%s:%d %s] ", __FILE__, __LINE__, __FUNCTION__); fflush(stdout);} +#define ND_DEBUG {printf(" [%s:%d %s] ", __FILE__, __LINE__, __func__); fflush(stdout);} /* The DLT printer routines */