Move PRU_CONTROL request to (*pru_control)().
authormvs <mvs@openbsd.org>
Fri, 2 Sep 2022 13:12:31 +0000 (13:12 +0000)
committermvs <mvs@openbsd.org>
Fri, 2 Sep 2022 13:12:31 +0000 (13:12 +0000)
commit3f68dcd30ab7a3790e8f7af54ae2336112945c26
tree21411bf907d755c7b01aa3643f26338494c56dd1
parent3e9f5857a4682097f0d54547c9b3ce5d65b4925a
Move PRU_CONTROL request to (*pru_control)().

The 'proc *' arg is not used for PRU_CONTROL request, so remove it from
pru_control() wrapper.

Split out {tcp,udp}6_usrreqs from {tcp,udp}_usrreqs and use them for
inet6 case.

ok guenther@ bluhm@
16 files changed:
sys/kern/sys_socket.c
sys/kern/uipc_usrreq.c
sys/net/if.c
sys/net/pfkeyv2.c
sys/net/rtsock.c
sys/netinet/ip_divert.c
sys/netinet/ip_gre.c
sys/netinet/raw_ip.c
sys/netinet/tcp_usrreq.c
sys/netinet/tcp_var.h
sys/netinet/udp_usrreq.c
sys/netinet/udp_var.h
sys/netinet6/in6_proto.c
sys/netinet6/ip6_divert.c
sys/netinet6/raw_ip6.c
sys/sys/protosw.h