summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/pcap/bluetooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libpcap/pcap/bluetooth.h')
-rw-r--r--contrib/libpcap/pcap/bluetooth.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/libpcap/pcap/bluetooth.h b/contrib/libpcap/pcap/bluetooth.h
index 813bea3..7cb0a8e 100644
--- a/contrib/libpcap/pcap/bluetooth.h
+++ b/contrib/libpcap/pcap/bluetooth.h
@@ -29,20 +29,27 @@
*
* bluetooth data struct
* By Paolo Abeni <paolo.abeni@email.it>
- *
- * @(#) $Header: /tcpdump/master/libpcap/pcap/bluetooth.h,v 1.1 2007-09-22 02:10:17 guy Exp $
*/
#ifndef _PCAP_BLUETOOTH_STRUCTS_H__
#define _PCAP_BLUETOOTH_STRUCTS_H__
/*
- * Header prepended libpcap to each bluetooth h:4 frame.
+ * Header prepended libpcap to each bluetooth h4 frame,
* fields are in network byte order
*/
typedef struct _pcap_bluetooth_h4_header {
u_int32_t direction; /* if first bit is set direction is incoming */
} pcap_bluetooth_h4_header;
+/*
+ * Header prepended libpcap to each bluetooth linux monitor frame,
+ * fields are in network byte order
+ */
+typedef struct _pcap_bluetooth_linux_monitor_header {
+ u_int16_t adapter_id;
+ u_int16_t opcode;
+} pcap_bluetooth_linux_monitor_header;
+
#endif
OpenPOWER on IntegriCloud