]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add {LINKTYPE,DLT}_RTAC_SERIAL.
authorGuy Harris <[email protected]>
Tue, 21 May 2013 02:05:58 +0000 (19:05 -0700)
committerGuy Harris <[email protected]>
Tue, 21 May 2013 02:05:58 +0000 (19:05 -0700)
pcap-common.c
pcap/bpf.h

index 7d35e6f7fb710f1a7ac1e8deea8fd3eebf2fb20b..5f29c49911033d1ced99f4f4c74019cf0e1159aa 100644 (file)
  */
 #define LINKTYPE_USBPCAP       249
 
-#define LINKTYPE_MATCHING_MAX  249             /* highest value in the "matching" range */
+/*
+ * Schweitzer Engineering Laboratories "RTAC" product serial-line
+ * packets.
+ *
+ * Requested by Chris Bontje <[email protected]>.
+ */
+#define DLT_RTAC_SERIAL                250
+
+#define LINKTYPE_MATCHING_MAX  250             /* highest value in the "matching" range */
 
 static struct linktype_map {
        int     dlt;
index 04060e237ca4d0ee99669d7f8198faf1d3ed5a2c..f8a898a42cd798c328600418c7b9ec1683a07fd8 100644 (file)
@@ -1195,8 +1195,16 @@ struct bpf_program {
  * Requested by Tomasz Mon <[email protected]>
  */
 #define DLT_USBPCAP            249
-#define DLT_MATCHING_MAX       249     /* highest value in the "matching" range */
+
+/*
+ * Schweitzer Engineering Laboratories "RTAC" product serial-line
+ * packets.
+ *
+ * Requested by Chris Bontje <[email protected]>.
+ */
+#define DLT_RTAC_SERIAL                250
+
+#define DLT_MATCHING_MAX       250     /* highest value in the "matching" range */
 
 /*
  * DLT and savefile link type values are split into a class and