Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
Module Name: src
Committed By: ozaki-r
Date: Fri Oct 28 05:25:36 UTC 2022
Modified Files:
src/sys/netinet: in_pcb.c in_pcb.h ip_output.c portalgo.c raw_ip.c
tcp_input.c tcp_output.c tcp_subr.c tcp_syncache.c tcp_timer.c
tcp_usrreq.c tcp_vtw.c udp_usrreq.c
src/sys/netinet6: icmp6.c in6_pcb.c in6_src.c ip6_output.c raw_ip6.c
udp6_usrreq.c
Log Message:
inpcb: separate inpcb again to reduce the size of PCB for IPv4
The data size of PCB for IPv4 increased because of the merge of
struct in6pcb. The change decreases the size to the original size by
separating struct inpcb (again). struct in4pcb and in6pcb that embed
struct inpcb are introduced.
Even after the separation, users don't need to realize the separation
and only have to use some macros to access dedicated data. For example,
inp->inp_laddr is now accessed through in4p_laddr(inp).
To generate a diff of this commit:
cvs rdiff -u -r1.192 -r1.193 src/sys/netinet/in_pcb.c
cvs rdiff -u -r1.72 -r1.73 src/sys/netinet/in_pcb.h
cvs rdiff -u -r1.321 -r1.322 src/sys/netinet/ip_output.c
cvs rdiff -u -r1.12 -r1.13 src/sys/netinet/portalgo.c
cvs rdiff -u -r1.182 -r1.183 src/sys/netinet/raw_ip.c
cvs rdiff -u -r1.435 -r1.436 src/sys/netinet/tcp_input.c
cvs rdiff -u -r1.215 -r1.216 src/sys/netinet/tcp_output.c
cvs rdiff -u -r1.292 -r1.293 src/sys/netinet/tcp_subr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/netinet/tcp_syncache.c
cvs rdiff -u -r1.97 -r1.98 src/sys/netinet/tcp_timer.c
cvs rdiff -u -r1.233 -r1.234 src/sys/netinet/tcp_usrreq.c
cvs rdiff -u -r1.22 -r1.23 src/sys/netinet/tcp_vtw.c
cvs rdiff -u -r1.262 -r1.263 src/sys/netinet/udp_usrreq.c
cvs rdiff -u -r1.253 -r1.254 src/sys/netinet6/icmp6.c
cvs rdiff -u -r1.172 -r1.173 src/sys/netinet6/in6_pcb.c
cvs rdiff -u -r1.89 -r1.90 src/sys/netinet6/in6_src.c
cvs rdiff -u -r1.230 -r1.231 src/sys/netinet6/ip6_output.c
cvs rdiff -u -r1.179 -r1.180 src/sys/netinet6/raw_ip6.c
cvs rdiff -u -r1.151 -r1.152 src/sys/netinet6/udp6_usrreq.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index