diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-06 07:14:37 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-06 07:14:37 +0000 |
commit | 14cd26d40a0951eaf4cfd5436ffce5c26fae0607 (patch) | |
tree | 35a79f3fa03ee03935738d445721807daa954fee /sys/netinet/ip_esp_old.c | |
parent | 07fd058044fbd8138e453c2dd542b4a80aafc864 (diff) |
New ESP code that's v4 and v6 friendly.
Diffstat (limited to 'sys/netinet/ip_esp_old.c')
-rw-r--r-- | sys/netinet/ip_esp_old.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |