Date: Sun, 14 Mar 2010 18:59:11 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Message-ID: <201003141859.o2EIxZ6K085379@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2010-03-14 18:59:11 UTC FreeBSD src repository Modified files: sys/netinet in_pcb.c in_pcb.h ip_divert.c raw_ip.c tcp_subr.c udp_usrreq.c Log: SVN rev 205157 on 2010-03-14 18:59:11Z by rwatson Abstract out initialization of most aspects of struct inpcbinfo from their calling contexts in {IP divert, raw IP sockets, TCP, UDP} and create new helper functions: in_pcbinfo_init() and in_pcbinfo_destroy() to do this work in a central spot. As inpcbinfo becomes more complex due to ongoing work to add connection groups, this will reduce code duplication. MFC after: 1 month Reviewed by: bz Sponsored by: Juniper Networks Revision Changes Path 1.263 +41 -0 src/sys/netinet/in_pcb.c 1.144 +5 -0 src/sys/netinet/in_pcb.h 1.163 +6 -21 src/sys/netinet/ip_divert.c 1.227 +3 -17 src/sys/netinet/raw_ip.c 1.355 +4 -23 src/sys/netinet/tcp_subr.c 1.265 +3 -23 src/sys/netinet/udp_usrreq.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003141859.o2EIxZ6K085379>