From owner-cvs-src-old@FreeBSD.ORG Thu Aug 19 11:31:30 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DE5510656A9 for ; Thu, 19 Aug 2010 11:31:30 +0000 (UTC) (envelope-from anchie@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 2FBC58FC23 for ; Thu, 19 Aug 2010 11:31:30 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o7JBVUaw005371 for ; Thu, 19 Aug 2010 11:31:30 GMT (envelope-from anchie@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o7JBVUJR005370 for cvs-src-old@freebsd.org; Thu, 19 Aug 2010 11:31:30 GMT (envelope-from anchie@repoman.freebsd.org) Message-Id: <201008191131.o7JBVUJR005370@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to anchie@repoman.freebsd.org using -f From: Ana Kukec Date: Thu, 19 Aug 2010 11:31:03 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/modules Makefile src/sys/modules/send Makefile src/sys/netinet in.h src/sys/netinet6 icmp6.c nd6.c nd6_nbr.c raw_ip6.c send.c send.h src/sys/sys mbuf.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 11:31:30 -0000 anchie 2010-08-19 11:31:03 UTC FreeBSD src repository Modified files: sys/modules Makefile sys/netinet in.h sys/netinet6 icmp6.c nd6.c nd6_nbr.c raw_ip6.c sys/sys mbuf.h Added files: sys/modules/send Makefile sys/netinet6 send.c send.h Log: SVN rev 211501 on 2010-08-19 11:31:03Z by anchie 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) Revision Changes Path 1.662 +1 -0 src/sys/modules/Makefile 1.1 +7 -0 src/sys/modules/send/Makefile (new) 1.116 +1 -0 src/sys/netinet/in.h 1.123 +111 -14 src/sys/netinet6/icmp6.c 1.136 +28 -0 src/sys/netinet6/nd6.c 1.74 +31 -0 src/sys/netinet6/nd6_nbr.c 1.118 +20 -0 src/sys/netinet6/raw_ip6.c 1.1 +367 -0 src/sys/netinet6/send.c (new) 1.1 +45 -0 src/sys/netinet6/send.h (new) 1.239 +1 -0 src/sys/sys/mbuf.h