summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_input.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-02-08 12:37:43 +0000
committerbluhm <bluhm@openbsd.org>2017-02-08 12:37:43 +0000
commit79be9754537f6c0267704241a603f98646770d9e (patch)
treece8d6de5453b7ac076ee58791689be3867d0f568 /sys/netinet6/ip6_input.c
parentPass the physical address to the end of symbols to the kernel. From (diff)
downloadwireguard-openbsd-79be9754537f6c0267704241a603f98646770d9e.tar.xz
wireguard-openbsd-79be9754537f6c0267704241a603f98646770d9e.zip
Remove the ipsec protocol callbacks which all do the same. Implement
it in ipsec_common_input_cb() instead. The code that was copied to ah6_input_cb() is now in ip6_ours() so we can call it directly. OK mpi@
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r--sys/netinet6/ip6_input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 8cc803a431d..4b0c4adf100 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.178 2017/02/06 16:01:25 bluhm Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.179 2017/02/08 12:37:43 bluhm Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -122,7 +122,6 @@ struct cpumem *ip6counters;
int ip6_check_rh0hdr(struct mbuf *, int *);
int ip6_hbhchcheck(struct mbuf *, int *, int *, int *);
int ip6_hopopts_input(u_int32_t *, u_int32_t *, struct mbuf **, int *);
-void ip6_ours(struct mbuf *, int, int);
struct mbuf *ip6_pullexthdr(struct mbuf *, size_t, int);
static struct mbuf_queue ip6send_mq;