CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/02/25 01:36:01
Modified files:
sys/kern : sys_socket.c uipc_proto.c uipc_socket.c
uipc_socket2.c uipc_usrreq.c
sys/net : if.c pfkeyv2.c rtsock.c
sys/netinet : in_proto.c ip_divert.c ip_divert.h ip_gre.c
ip_gre.h ip_var.h raw_ip.c tcp_usrreq.c
tcp_var.h udp_usrreq.c udp_var.h
sys/netinet6 : in6_proto.c ip6_divert.c ip6_divert.h ip6_var.h
raw_ip6.c
sys/sys : protosw.h unpcb.h
Log message:
Move pr_attach and pr_detach to a new structure pr_usrreqs that can
then be shared among protosw structures, following the same basic
direction as NetBSD and FreeBSD for this.
Split PRU_CONTROL out of pr_usrreq into pru_control, giving it the
proper prototype to eliminate the previously necessary casts.
ok mvs@ bluhm@