From ef62292833a3cf488115f6193b9eca7c9dc7a500 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 8 Nov 2002 23:37:50 +0000 Subject: FAST_IPSEC fixups: o fix #ifdef typo o must use "bounce functions" when dispatched from the protosw table don't know how this stuff was missed in my testing; must've committed the wrong bits Pointy hat: sam Submitted by: "Doug Ambrisko" --- sys/netipsec/ipsec_input.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'sys/netipsec/ipsec_input.c') diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c index 1d5a3c9..9ebb518 100644 --- a/sys/netipsec/ipsec_input.c +++ b/sys/netipsec/ipsec_input.c @@ -201,6 +201,24 @@ ipsec4_common_input(struct mbuf *m, ...) AF_INET, nxt); } +void +ah4_input(struct mbuf *m, int off) +{ + ipsec4_common_input(m, off, IPPROTO_AH); +} + +void +esp4_input(struct mbuf *m, int off) +{ + ipsec4_common_input(m, off, IPPROTO_ESP); +} + +void +ipcomp4_input(struct mbuf *m, int off) +{ + ipsec4_common_input(m, off, IPPROTO_IPCOMP); +} + /* * IPsec input callback for INET protocols. * This routine is called as the transform callback. -- cgit v1.1