From 14cd26d40a0951eaf4cfd5436ffce5c26fae0607 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Mon, 6 Dec 1999 07:14:37 +0000 Subject: New ESP code that's v4 and v6 friendly. --- sys/netinet/ip_esp_old.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/netinet/ip_esp_old.c') diff --git a/sys/netinet/ip_esp_old.c b/sys/netinet/ip_esp_old.c index dc4ebe2b118..309fddc4118 100644 --- a/sys/netinet/ip_esp_old.c +++ b/sys/netinet/ip_esp_old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp_old.c,v 1.37 1999/10/29 02:10:02 angelos Exp $ */ +/* $OpenBSD: ip_esp_old.c,v 1.38 1999/12/06 07:14:35 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -161,7 +161,7 @@ esp_old_zeroize(struct tdb *tdbp) * esp_old_input() gets called to decrypt an input packet */ struct mbuf * -esp_old_input(struct mbuf *m, struct tdb *tdb) +esp_old_input(struct mbuf *m, struct tdb *tdb, int skip, int protoff) { struct enc_xform *espx = (struct enc_xform *) tdb->tdb_encalgxform; struct ip *ip, ipo; @@ -428,7 +428,8 @@ esp_old_input(struct mbuf *m, struct tdb *tdb) } int -esp_old_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp) +esp_old_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, + int protoff) { struct enc_xform *espx = (struct enc_xform *) tdb->tdb_encalgxform; struct ip *ip, ipo; -- cgit v1.2.3