Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 19:42:59 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186527 - head/sys/netipsec
Message-ID:  <200812271942.mBRJgxwJ080322@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sat Dec 27 19:42:59 2008
New Revision: 186527
URL: http://svn.freebsd.org/changeset/base/186527

Log:
  For consistency with ipsec4_setspidx_inpcb() rename file local function
  ipsec6_setspidx_in6pcb() to ipsec6_setspidx_inpcb().
  
  MFC after:	4 weeks

Modified:
  head/sys/netipsec/ipsec.c

Modified: head/sys/netipsec/ipsec.c
==============================================================================
--- head/sys/netipsec/ipsec.c	Sat Dec 27 19:37:46 2008	(r186526)
+++ head/sys/netipsec/ipsec.c	Sat Dec 27 19:42:59 2008	(r186527)
@@ -230,7 +230,7 @@ SYSCTL_V_STRUCT(V_NET, vnet_ipsec, _net_
 
 static int ipsec4_setspidx_inpcb __P((struct mbuf *, struct inpcb *pcb));
 #ifdef INET6
-static int ipsec6_setspidx_in6pcb __P((struct mbuf *, struct inpcb *pcb));
+static int ipsec6_setspidx_inpcb __P((struct mbuf *, struct inpcb *pcb));
 #endif
 static int ipsec_setspidx __P((struct mbuf *, struct secpolicyindex *, int));
 static void ipsec4_get_ulp __P((struct mbuf *m, struct secpolicyindex *, int));
@@ -371,7 +371,7 @@ ipsec_getpolicybysock(struct mbuf *m, u_
 	/* set spidx in pcb */
 	if (inp->inp_vflag & INP_IPV6PROTO) {
 #ifdef INET6
-		*error = ipsec6_setspidx_in6pcb(m, inp);
+		*error = ipsec6_setspidx_inpcb(m, inp);
 		pcbsp = inp->inp_sp;
 #else
 		*error = EINVAL;		/* should not happen */
@@ -572,7 +572,7 @@ ipsec4_setspidx_inpcb(m, pcb)
 
 #ifdef INET6
 static int
-ipsec6_setspidx_in6pcb(m, pcb)
+ipsec6_setspidx_inpcb(m, pcb)
 	struct mbuf *m;
 	struct inpcb *pcb;
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812271942.mBRJgxwJ080322>