CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2022/08/15 03:11:39
Modified files: sys/kern : uipc_proto.c uipc_socket.c uipc_usrreq.c sys/net : 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: Introduce 'pr_usrreqs' structure and move existing user-protocol handlers into it. We want to split existing (*pr_usrreq)() to multiple short handlers for each PRU_ request as it was already done for PRU_ATTACH and PRU_DETACH. This is the preparation step, (*pr_usrreq)() split will be done with the following diffs. Based on reverted diff from guenther@. ok bluhm@