summaryrefslogtreecommitdiffstats
path: root/sys/netipsec/ipsec.c
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2015-04-27 01:12:51 +0000
committerae <ae@FreeBSD.org>2015-04-27 01:12:51 +0000
commitd340df8f2c3e1b465a7673342ebea5f7991dda6b (patch)
treed6451faa0f3c6c1124883b6086ce11df1a137d34 /sys/netipsec/ipsec.c
parentb38774ffc9433819aef27bdbb06516512d599588 (diff)
downloadFreeBSD-src-d340df8f2c3e1b465a7673342ebea5f7991dda6b.zip
FreeBSD-src-d340df8f2c3e1b465a7673342ebea5f7991dda6b.tar.gz
Make ipsec_in_reject() static. We use ipsec[46]_in_reject() instead.
Sponsored by: Yandex LLC
Diffstat (limited to 'sys/netipsec/ipsec.c')
-rw-r--r--sys/netipsec/ipsec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netipsec/ipsec.c b/sys/netipsec/ipsec.c
index abad3d2..266f6d0 100644
--- a/sys/netipsec/ipsec.c
+++ b/sys/netipsec/ipsec.c
@@ -238,6 +238,7 @@ SYSCTL_VNET_PCPUSTAT(_net_inet6_ipsec6, IPSECCTL_STATS, ipsecstats,
struct ipsecstat, ipsec6stat, "IPsec IPv6 statistics.");
#endif /* INET6 */
+static int ipsec_in_reject(struct secpolicy *, struct mbuf *);
static int ipsec_setspidx_inpcb(struct mbuf *, struct inpcb *);
static int ipsec_setspidx(struct mbuf *, struct secpolicyindex *, int);
static void ipsec4_get_ulp(struct mbuf *m, struct secpolicyindex *, int);
@@ -1191,7 +1192,7 @@ ipsec_get_reqlevel(struct ipsecrequest *isr)
* 0: valid
* 1: invalid
*/
-int
+static int
ipsec_in_reject(struct secpolicy *sp, struct mbuf *m)
{
struct ipsecrequest *isr;
OpenPOWER on IntegriCloud