]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect.h
OSPF: Use %zu to print sizeof values
[tcpdump] / netdissect.h
index e288d0317fe5b720ddced1545d864b47ce5cd306..854fb8a522333cecd8eabd867f71bd4c52b353c0 100644 (file)
@@ -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 */