summaryrefslogtreecommitdiffstats
path: root/sys/modules/send
diff options
context:
space:
mode:
authoranchie <anchie@FreeBSD.org>2010-08-19 11:31:03 +0000
committeranchie <anchie@FreeBSD.org>2010-08-19 11:31:03 +0000
commitc6c2feb282a53da0c88c776fa754d0952cc04718 (patch)
treef2b6c6d34ce5b086e7277b0987add39e98fc6aad /sys/modules/send
parent3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a (diff)
downloadFreeBSD-src-c6c2feb282a53da0c88c776fa754d0952cc04718.zip
FreeBSD-src-c6c2feb282a53da0c88c776fa754d0952cc04718.tar.gz
MFp4: anchie_soc2009 branch:
Add kernel side support for Secure Neighbor Discovery (SeND), RFC 3971. The implementation consists of a kernel module that gets packets from the nd6 code, sends them to user space on a dedicated socket and reinjects them back for further processing. Hooks are used from nd6 code paths to divert relevant packets to the send implementation for processing in user space. The hooks are only triggered if the send module is loaded. In case no user space application is connected to the send socket, processing continues normaly as if the module would not be loaded. Unloading the module is not possible at this time due to missing nd6 locking. The native SeND socket is similar to a raw IPv6 socket but with its own, internal pseudo-protocol. Approved by: bz (mentor)
Diffstat (limited to 'sys/modules/send')
-rw-r--r--sys/modules/send/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/modules/send/Makefile b/sys/modules/send/Makefile
new file mode 100644
index 0000000..1cb976b
--- /dev/null
+++ b/sys/modules/send/Makefile
@@ -0,0 +1,7 @@
+# $FreeBSD$
+.PATH: ${.CURDIR}/../../netinet6
+
+KMOD= send
+SRCS= send.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud