From ca9401db9b5bdca21d32106b0da2800f017fb46f Mon Sep 17 00:00:00 2001 From: Tobias Heider Date: Sun, 24 Oct 2021 15:47:40 +0000 Subject: Remove 'struct tdb_crypto' allocations from esp_input() and esp_output(). This was needed to pass arguments to the callback function, but is no longer necessary after the API makeover. ok bluhm@ --- sys/netinet/ip_ipsp.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/netinet/ip_ipsp.h') diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 5703fe98ba4..9c0171de39f 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.212 2021/10/23 22:19:37 bluhm Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.213 2021/10/24 15:47:39 tobhe Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr), @@ -590,10 +590,8 @@ int esp_attach(void); int esp_init(struct tdb *, const struct xformsw *, struct ipsecinit *); int esp_zeroize(struct tdb *); int esp_input(struct mbuf **, struct tdb *, int, int); -int esp_input_cb(struct tdb *, struct tdb_crypto *, struct mbuf *, int); +int esp_input_cb(struct tdb *, uint8_t *, int, int, uint64_t, struct mbuf *, int); int esp_output(struct mbuf *, struct tdb *, int, int); -int esp_output_cb(struct tdb *, struct tdb_crypto *, struct mbuf *, int, - int); int esp_sysctl(int *, u_int, void *, size_t *, void *, size_t); int esp4_input(struct mbuf **, int *, int, int); -- cgit v1.2.3