diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-03 13:37:38 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-03 13:37:38 +0000 |
commit | 8805f2fa766becf4dbfef99c216b1b1d57056023 (patch) | |
tree | 713baceaa9c1e297aec888e88f92089e65739079 /sys/net | |
parent | f677f3c991a008966cf8d9d2faad3fdbdb02c399 (diff) |
Add support for dumping USB transfers via bpf(4) using USBPcap headers.
ok deraadt@, dlg@
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/bpf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h index cb713eef697..604bdcbab55 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.h,v 1.64 2018/02/01 12:10:27 dlg Exp $ */ +/* $OpenBSD: bpf.h,v 1.65 2018/02/03 13:37:37 mpi Exp $ */ /* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */ /* @@ -201,6 +201,7 @@ struct bpf_hdr { #define DLT_USER13 160 /* Reserved for private use */ #define DLT_USER14 161 /* Reserved for private use */ #define DLT_USER15 162 /* Reserved for private use */ +#define DLT_USBPCAP 249 /* USBPcap */ #define DLT_MPLS 219 /* MPLS Provider Edge header */ #define DLT_OPENFLOW 267 /* in-kernel OpenFlow, by pcap */ |