]> The Tcpdump Group git mirrors - libpcap/commitdiff
added DLT/LINKTYPE for openvizsla.org
authorMichael Richardson <[email protected]>
Sat, 1 Sep 2018 02:31:38 +0000 (22:31 -0400)
committerMichael Richardson <[email protected]>
Sat, 1 Sep 2018 02:31:38 +0000 (22:31 -0400)
pcap-common.c
pcap/dlt.h

index b07c6028d7b1b40c4cdc06693a1d51118194245f..12ed4dbb03e93e6fa728aa1a6ae52c4ecbb5e176 100644 (file)
  */
 #define LINKTYPE_SERCOS_MONITOR 277
 
+/*
+ * OpenVizsla http://openvizsla.org is open source USB analyzer hardware.
+ * It consists of FPGA with attached USB phy and FTDI chip for streaming
+ * the data to the host PC.
+ *
+ * Current OpenVizsla data encapsulation format is described here:
+ * https://github.com/matwey/libopenvizsla/wiki/OpenVizsla-protocol-description
+ *
+ */
+#define LINKTYPE_OPENVIZSLA     278
 
-#define LINKTYPE_MATCHING_MAX  277             /* highest value in the "matching" range */
+#define LINKTYPE_MATCHING_MAX  278             /* highest value in the "matching" range */
 
 /*
  * The DLT_ and LINKTYPE_ values in the "matching" range should be the
index 6e6345f99c13718b8c12ed0e78d02c9ddde7b7b2..4ed32b972394672dcf6aaa342a0e6cdafc14ae9e 100644 (file)
  */
 #define DLT_SERCOS_MONITOR 277
 
+/*
+ * OpenVizsla http://openvizsla.org is open source USB analyzer hardware.
+ * It consists of FPGA with attached USB phy and FTDI chip for streaming
+ * the data to the host PC.
+ *
+ * Current OpenVizsla data encapsulation format is described here:
+ * https://github.com/matwey/libopenvizsla/wiki/OpenVizsla-protocol-description
+ *
+ */
+#define DLT_OPENVIZSLA         278
+
 /*
  * In case the code that includes this file (directly or indirectly)
  * has also included OS files that happen to define DLT_MATCHING_MAX,
 #ifdef DLT_MATCHING_MAX
 #undef DLT_MATCHING_MAX
 #endif
-#define DLT_MATCHING_MAX       277     /* highest value in the "matching" range */
+#define DLT_MATCHING_MAX       278     /* highest value in the "matching" range */
 
 /*
  * DLT and savefile link type values are split into a class and