git: aff225414bec - main - ipsec_accel: consistently provide arguments name in typedefs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Jul 2024 16:52:43 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=aff225414bec92e082d10efa8a7136ef9d37bb9c commit aff225414bec92e082d10efa8a7136ef9d37bb9c Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2024-07-30 16:41:48 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2024-07-30 16:52:18 +0000 ipsec_accel: consistently provide arguments name in typedefs Sponsored by: NVidia networking --- sys/net/if_var.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 579585b25dd2..e493f8c7951e 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -131,8 +131,8 @@ typedef void (*if_qflush_fn_t)(if_t); typedef int (*if_transmit_fn_t)(if_t, struct mbuf *); typedef uint64_t (*if_get_counter_t)(if_t, ift_counter); typedef void (*if_reassign_fn_t)(if_t, struct vnet *, char *); -typedef int (*if_spdadd_fn_t)(if_t, void *sp, void *inp, void **priv); -typedef int (*if_spddel_fn_t)(if_t, void *sp, void *priv); +typedef int (*if_spdadd_fn_t)(if_t ifp, void *sp, void *inp, void **priv); +typedef int (*if_spddel_fn_t)(if_t ifp, void *sp, void *priv); typedef int (*if_sa_newkey_fn_t)(if_t ifp, void *sav, u_int drv_spi, void **privp); typedef int (*if_sa_deinstall_fn_t)(if_t ifp, u_int drv_spi, void *priv);