From owner-freebsd-net@freebsd.org Thu Oct 6 11:06:50 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0805DBD3900 for ; Thu, 6 Oct 2016 11:06:50 +0000 (UTC) (envelope-from rafa@um.es) Received: from xenon23.um.es (xenon23.um.es [155.54.212.163]) by mx1.freebsd.org (Postfix) with ESMTP id B4569253 for ; Thu, 6 Oct 2016 11:06:49 +0000 (UTC) (envelope-from rafa@um.es) Received: from localhost (localhost [127.0.0.1]) by xenon23.um.es (Postfix) with ESMTP id 99390B31; Thu, 6 Oct 2016 13:01:14 +0200 (CEST) X-Virus-Scanned: by antispam in UMU at xenon23.um.es Received: from xenon23.um.es ([127.0.0.1]) by localhost (xenon23.um.es [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CWiV+TAaPURV; Thu, 6 Oct 2016 13:01:14 +0200 (CEST) Received: from [192.168.1.36] (176.red-83-37-59.dynamicip.rima-tde.net [83.37.59.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: rafa) by xenon23.um.es (Postfix) with ESMTPSA id 5BACE7DF6; Thu, 6 Oct 2016 13:01:12 +0200 (CEST) From: Rafa Marin Lopez Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: IPsec implementation key_spdacquire Date: Thu, 6 Oct 2016 13:01:11 +0200 Message-Id: Cc: Rafa Marin Lopez , Gabriel Lopez To: freebsd-net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Oct 2016 11:06:50 -0000 Dear all: I am a newbie in this mailing list and I am not sure whether this is the = right place to ask (let me know otherwise) In the file key.c in netipsec there is a function: key_spdacquire(struct secpolicy *sp) which is implemented but in the table: static int (*key_typesw[])(struct socket *, struct mbuf *, const struct sadb_msghdr *) =3D { ... NULL, /* SADB_X_SPDACQUIRE */ Does it mean it is not usable?=20 We are interested because we are dealing with handling IPsec by using = SDN paradigm = (https://tools.ietf.org/html/draft-abad-i2nsf-sdn-ipsec-flow-protection-00= ) and we would need an event when a IP packet needs a policy to be = configured for an outbound packet. Any comments? Best Regards. ------------------------------------------------------- Rafael Marin Lopez, PhD Dept. Information and Communications Engineering (DIIC) Faculty of Computer Science-University of Murcia 30100 Murcia - Spain Telf: +34868888501 Fax: +34868884151 e-mail: rafa@um.es -------------------------------------------------------