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;
 {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to