diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-05-21 23:16:49 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-05-21 23:16:49 +0000 |
commit | a37191cb075efc8a1b298d4bc54f99f9467c24d4 (patch) | |
tree | b3813dcdb59ccc82da73bce09453dc1fcd22bbe6 /wiretap/wtap.h | |
parent | a6555ef9c3f0ea379b7ef46cc322c0d22960a504 (diff) |
From Kovarththanan Rajaratnam via bug 2676:
If a PCAP file containing WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR packets is saved,
it gets corrupted because the direction pseudo header isn't included.
svn path=/trunk/; revision=28441
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r-- | wiretap/wtap.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h index 6f24ba2e6d..7dedc768d6 100644 --- a/wiretap/wtap.h +++ b/wiretap/wtap.h @@ -638,6 +638,9 @@ struct linux_usb_phdr { guint32 data_len; /* amount of urb data really present in this event */ }; +#define LIBPCAP_BT_PHDR_SENT 0 +#define LIBPCAP_BT_PHDR_RECV 1 + /* * Header prepended by libpcap to each bluetooth hci h:4 frame. * Values in network byte order |