summaryrefslogtreecommitdiffstats
path: root/sys/net/if_types.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2006-06-26 22:30:08 +0000
committerthompsa <thompsa@FreeBSD.org>2006-06-26 22:30:08 +0000
commit320c8e5164d793a94bf5d538add0abe0d4f665ca (patch)
treead08e122ba3a5390ec867d258e80d618c4727731 /sys/net/if_types.h
parentf0555f2de979cc15b2f5899edf00461f6d7ead98 (diff)
downloadFreeBSD-src-320c8e5164d793a94bf5d538add0abe0d4f665ca.zip
FreeBSD-src-320c8e5164d793a94bf5d538add0abe0d4f665ca.tar.gz
Add a pseudo interface for packet filtering IPSec connections before or after
encryption. There are two functions, a bpf tap which has a basic header with the SPI number which our current tcpdump knows how to display, and handoff to pfil(9) for packet filtering. Obtained from: OpenBSD Based on: kern/94829 No objections: arch, net MFC after: 1 month
Diffstat (limited to 'sys/net/if_types.h')
-rw-r--r--sys/net/if_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_types.h b/sys/net/if_types.h
index 2d25b69..4c37c49 100644
--- a/sys/net/if_types.h
+++ b/sys/net/if_types.h
@@ -246,6 +246,7 @@
#define IFT_GIF 0xf0
#define IFT_PVC 0xf1
#define IFT_FAITH 0xf2
+#define IFT_ENC 0xf4
#define IFT_PFLOG 0xf6
#define IFT_PFSYNC 0xf7
#define IFT_CARP 0xf8 /* Common Address Redundancy Protocol */
OpenPOWER on IntegriCloud