]> The Tcpdump Group git mirrors - libpcap/commitdiff
Allocate fd.io vpp dispatch DLT/LINKTYPE values 791/head
authorDave Barach <[email protected]>
Sun, 23 Dec 2018 20:59:26 +0000 (15:59 -0500)
committerDave Barach <[email protected]>
Sun, 23 Dec 2018 20:59:26 +0000 (15:59 -0500)
Specifically: DLT_VPP_DISPATCH and LINKTYPE_VPP_DISPATCH; update
DLT_MATCHING_MAX and LINKTYPE_MATCHING_MAX

Signed-off-by: Dave Barach <[email protected]>
pcap-common.c
pcap/dlt.h

index b908dab0a90c2fc1f34e01cfc81932f482844f57..c7d6f60cff4b5b70286b6cfafb6ddf2b2a872160 100644 (file)
  */
 #define LINKTYPE_EBHSCR                279
 
+/*
+ * The http://fd.io vpp graph dispatch tracer produces pcap trace files
+ * in the format documented here:
+ * https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vnet.html#graph-dispatcher-pcap-tracing
+ */
+#define LINKTYPE_VPP_DISPATCH  280
 
-#define LINKTYPE_MATCHING_MAX  279             /* highest value in the "matching" range */
+#define LINKTYPE_MATCHING_MAX  280             /* highest value in the "matching" range */
 
 /*
  * The DLT_ and LINKTYPE_ values in the "matching" range should be the
index ae9748546495608e0dd57d86f6556e9f991fa9ad..028da2f5bfba5d6803e5623276c2110ca20b8dc3 100644 (file)
  */
 #define DLT_EBHSCR             279
 
+/*
+ * The http://fd.io vpp graph dispatch tracer produces pcap trace files
+ * in the format documented here:
+ * https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/vnet.html#graph-dispatcher-pcap-tracing
+ */
+#define DLT_VPP_DISPATCH       280
+
 /*
  * 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       279     /* highest value in the "matching" range */
+#define DLT_MATCHING_MAX       280     /* highest value in the "matching" range */
 
 /*
  * DLT and savefile link type values are split into a class and