ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] [PATCH] support pcap bluetooth dlt

From: Paolo Abeni <paolo.abeni@xxxxxxxx>
Date: Fri, 13 Oct 2006 14:09:10 +0200
hi list,

the attached patch add support for the recently introduced pcap
bluetooth data link type. Yes, pcap is going to support also bluetooth
devices (at least on Linux) :-)

best regards,

Paolo

Index: wiretap/libpcap.c
===================================================================
--- wiretap/libpcap.c	(revision 19511)
+++ wiretap/libpcap.c	(working copy)
@@ -412,6 +412,8 @@
         { 183,          WTAP_ENCAP_JUNIPER_VP },
 	/* raw USB packets */
 	{ 186, 		WTAP_ENCAP_USB },
+	/* bluetooth hci frams, like hcidump */
+	{ 187, 		WTAP_ENCAP_BLUETOOTH_H4 },
 
 
 	/*