diff options
author | bz <bz@FreeBSD.org> | 2008-12-27 19:42:59 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2008-12-27 19:42:59 +0000 |
commit | 95679d033548eecfbf3e08956df5742b68594c9f (patch) | |
tree | 6fe43b02820fa0fb8d05828563c9c3ab99c82927 /sys/netipsec | |
parent | f460f8ea268b55df9f322cb1e553973ed3980e94 (diff) | |
download | FreeBSD-src-95679d033548eecfbf3e08956df5742b68594c9f.zip FreeBSD-src-95679d033548eecfbf3e08956df5742b68594c9f.tar.gz |
For consistency with ipsec4_setspidx_inpcb() rename file local function
ipsec6_setspidx_in6pcb() to ipsec6_setspidx_inpcb().
MFC after: 4 weeks
Diffstat (limited to 'sys/netipsec')
-rw-r--r-- | sys/netipsec/ipsec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c index 27da162..cb7de54 100644 --- a/sys/netipsec/ipsec.c +++ b/sys/netipsec/ipsec.c @@ -230,7 +230,7 @@ SYSCTL_V_STRUCT(V_NET, vnet_ipsec, _net_inet6_ipsec6, IPSECCTL_STATS, 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_int dir, struct inpcb *inp, int *error) /* 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; { |