summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1998-03-18 10:16:32 +0000
committerNiels Provos <provos@cvs.openbsd.org>1998-03-18 10:16:32 +0000
commit1ff621f6d9357c68d34b80f7e751dd037ba9afae (patch)
tree2218084b9c162ecad7e5b508cd80afa96916f096 /sys/netinet/ip_ipsp.h
parent68e9f4d100dffb1a03a06b996fce196d3967780b (diff)
Fix tunnel mode input processing (use ip4_input instead of ipe4_input),
fix some old code leftovers in ah_new_input (adjust to variable hash length), avoid double ip encapsulation in tunnel mode. Problems reportd by Petr Novak <petr@internet.cz>.
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h
index a38abcc4b7d..42c07df7836 100644
--- a/sys/netinet/ip_ipsp.h
+++ b/sys/netinet/ip_ipsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.h,v 1.16 1997/11/24 19:14:15 provos Exp $ */
+/* $OpenBSD: ip_ipsp.h,v 1.17 1998/03/18 10:16:29 provos Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -216,6 +216,7 @@ extern int ipe4_zeroize(struct tdb *);
extern int ipe4_output(struct mbuf *, struct sockaddr_encap *, struct tdb *,
struct mbuf **);
extern void ipe4_input __P((struct mbuf *, ...));
+extern void ip4_input __P((struct mbuf *, int));
/* XF_OLD_AH */
extern int ah_old_attach(void);