diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-29 02:10:03 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-10-29 02:10:03 +0000 |
commit | 7b584cbf8103cf78a8db3cbb08e378ff5a47a4b9 (patch) | |
tree | a283b998caf4727d0ddc8b9a342061d39c2db3ba /sys/netinet/ip_ipsp.h | |
parent | a0d9dd4e06ca24923b8a0e6c811ac694972ae2e9 (diff) |
Get rid of unnecessary third argument in *_output routines of IPsec.
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 791233a1815..3b4cdcc6eea 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.44 1999/10/29 02:02:33 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.45 1999/10/29 02:10:02 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -352,8 +352,7 @@ struct xformsw int (*xf_init)(struct tdb *, struct xformsw *, struct ipsecinit *); int (*xf_zeroize)(struct tdb *); /* termination */ struct mbuf *(*xf_input)(struct mbuf *, struct tdb *); /* input */ - int (*xf_output)(struct mbuf *, struct sockaddr_encap *, - struct tdb *, struct mbuf **); /* output */ + int (*xf_output)(struct mbuf *, struct tdb *, struct mbuf **); /* output */ }; /* xform IDs */ @@ -479,32 +478,28 @@ extern void etherip_input __P((struct mbuf *, ...)); extern int ah_old_attach(void); extern int ah_old_init(struct tdb *, struct xformsw *, struct ipsecinit *); extern int ah_old_zeroize(struct tdb *); -extern int ah_old_output(struct mbuf *, struct sockaddr_encap *, struct tdb *, - struct mbuf **); +extern int ah_old_output(struct mbuf *, struct tdb *, struct mbuf **); extern struct mbuf *ah_old_input(struct mbuf *, struct tdb *); /* XF_NEW_AH */ extern int ah_new_attach(void); extern int ah_new_init(struct tdb *, struct xformsw *, struct ipsecinit *); extern int ah_new_zeroize(struct tdb *); -extern int ah_new_output(struct mbuf *, struct sockaddr_encap *, struct tdb *, - struct mbuf **); +extern int ah_new_output(struct mbuf *, struct tdb *, struct mbuf **); extern struct mbuf *ah_new_input(struct mbuf *, struct tdb *); /* XF_OLD_ESP */ extern int esp_old_attach(void); extern int esp_old_init(struct tdb *, struct xformsw *, struct ipsecinit *); extern int esp_old_zeroize(struct tdb *); -extern int esp_old_output(struct mbuf *, struct sockaddr_encap *, struct tdb *, - struct mbuf **); +extern int esp_old_output(struct mbuf *, struct tdb *, struct mbuf **); extern struct mbuf *esp_old_input(struct mbuf *, struct tdb *); /* XF_NEW_ESP */ extern int esp_new_attach(void); extern int esp_new_init(struct tdb *, struct xformsw *, struct ipsecinit *); extern int esp_new_zeroize(struct tdb *); -extern int esp_new_output(struct mbuf *, struct sockaddr_encap *, struct tdb *, - struct mbuf **); +extern int esp_new_output(struct mbuf *, struct tdb *, struct mbuf **); extern struct mbuf *esp_new_input(struct mbuf *, struct tdb *); /* XF_TCPSIGNATURE */ @@ -513,8 +508,7 @@ 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 int tcp_signature_tdb_output __P((struct mbuf *, - struct sockaddr_encap *, struct tdb *, +extern int tcp_signature_tdb_output __P((struct mbuf *, struct tdb *, struct mbuf **)); /* Padding */ |