diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-02-14 15:26:36 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-02-14 15:26:36 -0800 |
commit | 2a68b85923d6a32e882b6884ec1d4525bbe7014c (patch) | |
tree | b2ec70e46c045a9d3cef7793eaa1118d18386ff3 | |
parent | c77ffc1b7374d7baa5a6fc0841eb0dd6a8e60fab (diff) |
Add {DLT,LINKTYPE}_BLUETOOTH_LINUX_MONITOR for BlueZ.
This is a new link-layer header type for the Bluetooth Linux Monitor in
the BlueZ Bluetooth stack.
-rw-r--r-- | pcap-common.c | 7 | ||||
-rw-r--r-- | pcap/bpf.h | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/pcap-common.c b/pcap-common.c index 632b1b64..aaa22c75 100644 --- a/pcap-common.c +++ b/pcap-common.c @@ -938,7 +938,12 @@ */ #define LINKTYPE_NETLINK 253 -#define LINKTYPE_MATCHING_MAX 253 /* highest value in the "matching" range */ +/* + * Bluetooth Linux Monitor headers for the BlueZ stack. + */ +#define LINKTYPE_BLUETOOTH_LINUX_MONITOR 254 + +#define LINKTYPE_MATCHING_MAX 254 /* highest value in the "matching" range */ static struct linktype_map { int dlt; @@ -1227,7 +1227,12 @@ struct bpf_program { */ #define DLT_NETLINK 253 -#define DLT_MATCHING_MAX 253 /* highest value in the "matching" range */ +/* + * Bluetooth Linux Monitor headers for the BlueZ stack. + */ +#define DLT_BLUETOOTH_LINUX_MONITOR 254 + +#define DLT_MATCHING_MAX 254 /* highest value in the "matching" range */ /* * DLT and savefile link type values are split into a class and |