summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.h
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1998-06-10 23:57:08 +0000
committerprovos <provos@openbsd.org>1998-06-10 23:57:08 +0000
commit3fcff9bd3a9ee548b59182a2b48e1a9726db94e7 (patch)
treedd4216ab28996a995576801984b33e831fb4c87e /sys/net/bpf.h
parentspelling (diff)
downloadwireguard-openbsd-3fcff9bd3a9ee548b59182a2b48e1a9726db94e7.tar.xz
wireguard-openbsd-3fcff9bd3a9ee548b59182a2b48e1a9726db94e7.zip
make the packets which were successfully processed by IPSec available to
bpf via the enc0 interface, using linktype DLT_ENC.
Diffstat (limited to 'sys/net/bpf.h')
-rw-r--r--sys/net/bpf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h
index ad2ddda2a61..0db69a51dd9 100644
--- a/sys/net/bpf.h
+++ b/sys/net/bpf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bpf.h,v 1.6 1998/06/04 23:11:37 deraadt Exp $ */
+/* $OpenBSD: bpf.h,v 1.7 1998/06/10 23:57:09 provos Exp $ */
/* $NetBSD: bpf.h,v 1.15 1996/12/13 07:57:33 mikel Exp $ */
/*
@@ -180,6 +180,7 @@ struct bpf_hdr {
#define DLT_FDDI 10 /* FDDI */
#define DLT_ATM_RFC1483 11 /* LLC/SNAP encapsulated atm */
#define DLT_LOOP 12 /* loopback type (af header) */
+#define DLT_ENC 13 /* IPSEC enc type (af header, spi, flags) */
/*
* The instruction encondings.