diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-12-29 20:27:56 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-12-29 20:27:56 +0000 |
commit | 26b32cbd6fd5c919b1bceced4ad9a065daa0244b (patch) | |
tree | a89af05dbb6f310e808f7002edb7a7cf114f2108 /sys/netinet | |
parent | b836d3776194ea7f7b2b4516817f5cb258b642d0 (diff) |
fix _input/_output proto changes for tcp_signature; angelos@ ok
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 6 | ||||
-rw-r--r-- | sys/netinet/tcp_subr.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index cf204a90083..d8476e3ee1d 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.51 1999/12/25 04:48:16 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.52 1999/12/29 20:27:55 mickey Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -551,9 +551,9 @@ extern int tcp_signature_tdb_attach __P((void)); extern int tcp_signature_tdb_init __P((struct tdb *, struct xformsw *, struct ipsecinit *)); extern int tcp_signature_tdb_zeroize __P((struct tdb *)); -extern struct mbuf *tcp_signature_tdb_input __P((struct mbuf *, struct tdb *)); +extern struct mbuf *tcp_signature_tdb_input __P((struct mbuf *, struct tdb *, int, int)); extern int tcp_signature_tdb_output __P((struct mbuf *, struct tdb *, - struct mbuf **)); + struct mbuf **, int, int)); /* Padding */ extern caddr_t m_pad(struct mbuf *, int, int); diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 6b417103a7a..eb09b426e86 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.22 1999/12/21 14:09:48 provos Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.23 1999/12/29 20:27:55 mickey Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -835,18 +835,20 @@ tcp_signature_tdb_zeroize(tdbp) } struct mbuf * -tcp_signature_tdb_input(m, tdbp) +tcp_signature_tdb_input(m, tdbp, skip, protoff) struct mbuf *m; struct tdb *tdbp; + int skip, protoff; { return (0); } int -tcp_signature_tdb_output(m, tdbp, mp) +tcp_signature_tdb_output(m, tdbp, mp, skip, protoff) struct mbuf *m; struct tdb *tdbp; struct mbuf **mp; + int skip, protoff; { return (EINVAL); } |