Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Andrew Brown <atatat@netbsd.org>
List: source-changes
Date: 03/09/2005 05:07:19
Module Name: src
Committed By: atatat
Date: Wed Mar 9 05:07:19 UTC 2005
Modified Files:
src/sys/kern: uipc_domain.c
src/sys/netinet: in_var.h raw_ip.c tcp_usrreq.c udp_usrreq.c
src/sys/netinet6: raw_ip6.c udp6_usrreq.c
src/sys/sys: socket.h
Log Message:
Add the following nodes to the sysctl tree:
net.local.stream.pcblist
net.local.dgram.pcblist
net.inet.tcp.pcblist
net.inet.udp.pcblist
net.inet.raw.pcblist
net.inet6.tcp6.pcblist
net.inet6.udp6.pcblist
net.inet6.raw6.pcblist
which allow retrieval of the pcbs in use for those protocols. The
struct involved is 32/64 bit clean and incorporates parts of struct
inpcb, struct unpcb, a bit of struct tcpcb, and two socket addresses.
To generate a diff of this commit:
cvs rdiff -r1.49 -r1.50 src/sys/kern/uipc_domain.c
cvs rdiff -r1.54 -r1.55 src/sys/netinet/in_var.h
cvs rdiff -r1.83 -r1.84 src/sys/netinet/raw_ip.c
cvs rdiff -r1.96 -r1.97 src/sys/netinet/tcp_usrreq.c
cvs rdiff -r1.131 -r1.132 src/sys/netinet/udp_usrreq.c
cvs rdiff -r1.68 -r1.69 src/sys/netinet6/raw_ip6.c
cvs rdiff -r1.64 -r1.65 src/sys/netinet6/udp6_usrreq.c
cvs rdiff -r1.72 -r1.73 src/sys/sys/socket.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.