]> The Tcpdump Group git mirrors - tcpdump/blobdiff - interface.h
From: Darren Reed <[email protected]>
[tcpdump] / interface.h
index aa3954f5df1ac7a9626f2d89410df36e7c4285f4..075b78fe41a23ea7f9173281487cf89a4454a9db 100644 (file)
@@ -97,6 +97,14 @@ extern char *program_name;   /* used to generate self-identifying messages */
 
 extern int32_t thiszone;       /* seconds offset from gmt to local time */
 
+typedef u_int (*if_ndo_printer)(struct netdissect_options *ndo,
+                               const struct pcap_pkthdr *, const u_char *);
+typedef u_int (*if_printer)(const struct pcap_pkthdr *, const u_char *);
+
+extern if_ndo_printer lookup_ndo_printer(int);
+extern if_printer lookup_printer(int);
+
+
 /*
  * True if  "l" bytes of "var" were captured.
  *
@@ -314,6 +322,7 @@ extern u_int bt_if_print(const struct pcap_pkthdr *, const u_char *);
 extern u_int usb_linux_48_byte_print(const struct pcap_pkthdr *, const u_char *);
 extern u_int usb_linux_64_byte_print(const struct pcap_pkthdr *, const u_char *);
 
+
 #ifdef INET6
 extern void ip6_opt_print(const u_char *, int);
 extern int hbhopt_print(const u_char *);