pkgsrc/sysutils/hcidump/patches/patch-ac
salo 5d435ece85 Initial import of hcidump-1.5.1: Bluetooth traffic dumper, similar to tcpdump
hcidump reads raw HCI data coming from and going to a Bluetooth device
and prints to screen commands, events and data in a human-readable form.
Optionally, the dump can be written to a file rather than parsed, and
the dump file can be parsed in a subsequent moment.

NetBSD support added and packaged by Iain D. Hibbert, via pkgsrc-wip.
2006-07-25 16:28:47 +00:00

13 lines
358 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2006/07/25 16:28:47 salo Exp $
NetBSD compatibility
--- hcidump/hcidump.h.orig 2003-09-13 00:38:06.000000000 +0100
+++ hcidump/hcidump.h
@@ -41,5 +41,5 @@ struct dump_hdr {
} __attribute__ ((packed));
#define DUMP_HDR_SIZE (sizeof(struct dump_hdr))
-#define SNAP_LEN NG_HCI_ACL_PKT_SIZE
+#define SNAP_LEN HCI_ACL_PKT_SIZE