]> The Tcpdump Group git mirrors - tcpdump/blobdiff - pcap-missing.h
Print both the name and the description of a link-layer type (the name
[tcpdump] / pcap-missing.h
index 9a86110c66765361d72ad1f52df0093a08f12477..64e5b00bd2e6a4b825d578055b5ee30e3587e2e4 100644 (file)
@@ -18,7 +18,7 @@
  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * @(#) $Header: /tcpdump/master/tcpdump/pcap-missing.h,v 1.1 2002-12-19 09:27:57 guy Exp $ (LBL)
+ * @(#) $Header: /tcpdump/master/tcpdump/pcap-missing.h,v 1.2 2003-11-18 23:09:42 guy Exp $ (LBL)
  */
 
 #ifndef tcpdump_pcap_missing_h
@@ -40,6 +40,10 @@ extern int pcap_datalink_name_to_val(const char *);
 extern const char *pcap_datalink_val_to_name(int);
 #endif
 
+#ifndef HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION
+extern const char *pcap_datalink_val_to_description(int);
+#endif
+
 #endif