aboutsummaryrefslogtreecommitdiff
path: root/sys/netipsec
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2022-10-04 13:41:39 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2022-10-04 13:42:51 +0000
commit9f69c0b87da3faa02abcedb69689b1ab1edf571a (patch)
treeb05204acf9876b1074abfae725115ce31bde22b5 /sys/netipsec
parentd97ecf714e791ad8ca7caa969fd9a5e9347fc96a (diff)
downloadsrc-9f69c0b87da3faa02abcedb69689b1ab1edf571a.tar.gz
src-9f69c0b87da3faa02abcedb69689b1ab1edf571a.zip
Diffstat (limited to 'sys/netipsec')
-rw-r--r--sys/netipsec/ipsec_support.h3
-rw-r--r--sys/netipsec/subr_ipsec.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/netipsec/ipsec_support.h b/sys/netipsec/ipsec_support.h
index e779ba96deab..491a6ff59a2d 100644
--- a/sys/netipsec/ipsec_support.h
+++ b/sys/netipsec/ipsec_support.h
@@ -193,8 +193,7 @@ int ipsec_kmod_pcbctl(struct ipsec_support * const, struct inpcb *,
struct sockopt *);
int ipsec_kmod_capability(struct ipsec_support * const, struct mbuf *, u_int);
size_t ipsec_kmod_hdrsize(struct ipsec_support * const, struct inpcb *);
-int ipsec_kmod_ctlinput(struct ipsec_support * const, int,
- struct sockaddr *, void *);
+int ipsec_kmod_ctlinput(struct ipsec_support *, ipsec_ctlinput_param_t);
int ipsec_kmod_udp_input(struct ipsec_support * const, struct mbuf *, int, int);
int ipsec_kmod_udp_pcbctl(struct ipsec_support * const, struct inpcb *,
struct sockopt *);
diff --git a/sys/netipsec/subr_ipsec.c b/sys/netipsec/subr_ipsec.c
index 13c7336154e4..3eac9d6aaad0 100644
--- a/sys/netipsec/subr_ipsec.c
+++ b/sys/netipsec/subr_ipsec.c
@@ -367,8 +367,8 @@ IPSEC_KMOD_METHOD(int, ipsec_kmod_forward, sc,
)
IPSEC_KMOD_METHOD(int, ipsec_kmod_ctlinput, sc,
- ctlinput, METHOD_DECL(struct ipsec_support * const sc, int code,
- struct sockaddr *sa, void *v), METHOD_ARGS(code, sa, v)
+ ctlinput, METHOD_DECL(struct ipsec_support * const sc,
+ ipsec_ctlinput_param_t param), METHOD_ARGS(param)
)
IPSEC_KMOD_METHOD(int, ipsec_kmod_output, sc,