File tree Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Expand file tree Collapse file tree 3 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 1269
1269
*/
1270
1270
#define LINKTYPE_FIRA_UCI 299
1271
1271
1272
- #define LINKTYPE_HIGH_MATCHING_MAX 299 /* highest value in the "matching" range */
1272
+ /*
1273
+ * MDB (Multi-Drop Bus) protocol between a vending machine controller and
1274
+ * peripherals inside the vending machine. See
1275
+ *
1276
+ * https://www.kaiser.cx/pcap-mdb.html
1277
+ *
1278
+ * for the specification.
1279
+ *
1280
+ * Requested by Martin Kaiser <martin@kaiser.cx>.
1281
+ */
1282
+ #define LINKTYPE_MDB 300
1283
+
1284
+ #define LINKTYPE_HIGH_MATCHING_MAX 300 /* highest value in the "matching" range */
1273
1285
1274
1286
/*
1275
1287
* The DLT_ and LINKTYPE_ values in the "matching" range should be the
Original file line number Diff line number Diff line change @@ -3374,6 +3374,7 @@ static struct dlt_choice dlt_choices[] = {
3374
3374
DLT_CHOICE (ZWAVE_TAP , "Z-Wave packets with a TAP meta-data header" ),
3375
3375
DLT_CHOICE (SILABS_DEBUG_CHANNEL , "Silicon Labs debug channel protocol" ),
3376
3376
DLT_CHOICE (FIRA_UCI , "Ultra-wideband controller interface protocol" ),
3377
+ DLT_CHOICE (MDB , "Multi-Drop Bus" ),
3377
3378
DLT_CHOICE_SENTINEL
3378
3379
};
3379
3380
Original file line number Diff line number Diff line change 1638
1638
*/
1639
1639
#define DLT_FIRA_UCI 299
1640
1640
1641
+ /*
1642
+ * MDB (Multi-Drop Bus) protocol between a vending machine controller and
1643
+ * peripherals inside the vending machine. See
1644
+ *
1645
+ * https://www.kaiser.cx/pcap-mdb.html
1646
+ *
1647
+ * for the specification.
1648
+ *
1649
+ * Requested by Martin Kaiser <martin@kaiser.cx>.
1650
+ */
1651
+ #define DLT_MDB 300
1652
+
1641
1653
/*
1642
1654
* In case the code that includes this file (directly or indirectly)
1643
1655
* has also included OS files that happen to define DLT_HIGH_MATCHING_MAX,
1649
1661
#undef DLT_HIGH_MATCHING_MAX
1650
1662
#endif
1651
1663
1652
- #define DLT_HIGH_MATCHING_MAX 299 /* highest value in the "matching" range */
1664
+ #define DLT_HIGH_MATCHING_MAX 300 /* highest value in the "matching" range */
1653
1665
1654
1666
#endif /* !defined(lib_pcap_dlt_h) */
You can’t perform that action at this time.
0 commit comments