]> The Tcpdump Group git mirrors - libpcap/commitdiff
DLT request from b.selvig at ti.com
authorMichael Richardson <[email protected]>
Thu, 6 Apr 2017 15:00:22 +0000 (11:00 -0400)
committerMichael Richardson <[email protected]>
Thu, 6 Apr 2017 15:00:22 +0000 (11:00 -0400)
pcap.c
pcap/dlt.h

diff --git a/pcap.c b/pcap.c
index 87641c4c28bb7b03cbc72be44250aee01d7133a3..a47e361390655848ddb2e4d30651e62f0f601efa 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -2092,6 +2092,7 @@ static struct dlt_choice dlt_choices[] = {
        DLT_CHOICE(USB_DARWIN, "USB with Darwin header"),
        DLT_CHOICE(OPENFLOW, "OpenBSD DLT_OPENFLOW"),
        DLT_CHOICE(SDLC, "IBM SDLC frames"),
+       DLT_CHOICE(TI_LLN_SNIFFER, "TI LLN sniffer frames"),
        DLT_CHOICE_SENTINEL
 };
 
index 28c129a28de7840f4a5573aa4b79df222e059371..16a28f61f5dc06c414d0c45ed9e81376dd0e1622 100644 (file)
  */
 #define DLT_SDLC       268
 
+/*
+ * per "Selvig, Bjorn" <[email protected]> used for
+ * TI protocol sniffer.
+ */
+#define DLT_TI_LLN_SNIFFER  269
+
+
 /*
  * In case the code that includes this file (directly or indirectly)
  * has also included OS files that happen to define DLT_MATCHING_MAX,