CVSROOT: /cvs Module name: src Changes by: bl...@cvs.openbsd.org 2022/08/30 05:53:04
Modified files: sys/net : pf.c sys/netinet : in_pcb.c in_pcb.h tcp_input.c tcp_subr.c tcp_usrreq.c udp_usrreq.c sys/netinet6 : in6_pcb.c raw_ip6.c Log message: Refactor internet PCB lookup function. Rename in_pcbhashlookup() so the public API is in_pcblookup() and in_pcblookup_listen(). For internal use introduce in_pcbhash_insert() and in_pcbhash_lookup() to avoid code duplication. Routing domain is unsigned, change the type to u_int. OK mvs@