NetBSD/sys/netinet
jonathan 85b3ba5bf1 Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.

New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)

Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)

	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)

	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)

	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)

Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":

New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)

Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)
2004-05-07 00:55:14 +00:00
..
Makefile Sync with official IPFilter 2004-03-28 09:01:26 +00:00
fil.c Fix to update all references to mbuf. Fixes case where mbuf is freed twice. 2004-05-04 11:31:52 +00:00
files.ipfilter Sync with official IPFilter 2004-03-28 09:01:26 +00:00
files.netinet defflag TCP_OUTPUT_COUNTERS and TCP_REASS_COUNTERS 2004-05-01 02:21:44 +00:00
icmp6.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
icmp_var.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_arp.c Send an arp request before the arp entry times out if the entry is active, 2004-04-28 14:09:36 +00:00
if_atm.c KNF - return is not a function. sync w/kame. 2002-09-11 02:46:42 +00:00
if_atm.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
if_ether.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
if_inarp.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
igmp.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
igmp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
igmp_var.h Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
in.c kill sprintf, use snprintf 2004-04-21 18:40:37 +00:00
in.h Redo net.inet.* sysctl subtree for fast-ipsec from scratch. 2004-05-07 00:55:14 +00:00
in4_cksum.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
in_cksum.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
in_gif.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
in_gif.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
in_pcb.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
in_pcb.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
in_pcb_hdr.h Define a sotoinpcb_hdr() macro (a'la sotoinpcb()). 2004-03-02 02:11:14 +00:00
in_proto.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
in_systm.h De __P() 2004-04-18 21:00:35 +00:00
in_var.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
ip.h Initial commit of a port of the FreeBSD implementation of RFC 2385 2004-04-25 22:25:03 +00:00
ip6.h declare ip6_hdr_pseudo (for kernel only) and use it for TCP MD5 signature 2004-04-26 05:15:47 +00:00
ip_auth.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_auth.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_compat.h Only #define COPYIN copyin, et cetera, in the kernel. That is, only 2004-03-31 20:58:15 +00:00
ip_ecn.c
ip_ecn.h De __P() 2004-04-18 21:00:35 +00:00
ip_encap.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
ip_encap.h De __P() 2004-04-18 21:00:35 +00:00
ip_fil.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_fil_netbsd.c Constify protosw arrays. This can reduce the kernel .data section by 2004-04-22 01:01:40 +00:00
ip_flow.c Initialise (most) pools from a link set instead of explicit calls 2004-04-25 16:42:40 +00:00
ip_frag.c Cast 64 bit pointers only with (intptr_t) care. 2004-03-28 12:12:28 +00:00
ip_frag.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_ftp_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_gre.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
ip_gre.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
ip_h323_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_htable.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_htable.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_icmp.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
ip_icmp.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
ip_id.c typo 2004-03-23 05:31:54 +00:00
ip_input.c at line 543, we do a pullup here of hlen bytes into the mbuf, 2004-05-02 05:02:53 +00:00
ip_ipsec_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_irc_pxy.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_log.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_lookup.c A few more ioctl vs. copyin changes, spotted by Bill Studenmund. 2004-04-01 21:54:41 +00:00
ip_lookup.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_mroute.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
ip_mroute.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00
ip_nat.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_nat.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_netbios_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_output.c Remove #else clause of __STDC__ 2004-04-26 01:31:56 +00:00
ip_pool.c kill some strcpy 2004-04-21 18:16:14 +00:00
ip_pool.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_pptp_pxy.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_proxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_proxy.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_raudio_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_rcmd_pxy.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_rpcb_pxy.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_rules.c Always include <sys/param.h> first! 2004-04-24 19:59:19 +00:00
ip_rules.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_scan.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_scan.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_state.c Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_state.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
ip_sync.c Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_sync.h Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
ip_var.h Constify protosw arrays. This can reduce the kernel .data section by 2004-04-22 01:01:40 +00:00
ipl.h Upgraded IPFilter to 4.1.1 2004-03-28 09:00:53 +00:00
raw_ip.c Redo net.inet.* sysctl subtree for fast-ipsec from scratch. 2004-05-07 00:55:14 +00:00
tcp.h Initial commit of a port of the FreeBSD implementation of RFC 2385 2004-04-25 22:25:03 +00:00
tcp_debug.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_debug.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_fsm.h export tcpstates for _KERNEL and remove tcp_usrreq.c's incorrect 2004-04-20 22:54:31 +00:00
tcp_input.c Redo net.inet.* sysctl subtree for fast-ipsec from scratch. 2004-05-07 00:55:14 +00:00
tcp_output.c make TCP MD5 signature work with KAME IPSEC (#define IPSEC). 2004-04-26 03:54:28 +00:00
tcp_seq.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_subr.c Use EVCNT_ATTACH_STATIC{,2} 2004-05-01 02:20:42 +00:00
tcp_timer.c some corrections from markus@openbsd; 2004-01-02 15:51:04 +00:00
tcp_timer.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
tcp_usrreq.c Initial commit of a port of the FreeBSD implementation of RFC 2385 2004-04-25 22:25:03 +00:00
tcp_var.h make TCP MD5 signature work with KAME IPSEC (#define IPSEC). 2004-04-26 03:54:28 +00:00
tcpip.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
udp.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
udp_usrreq.c Redo net.inet.* sysctl subtree for fast-ipsec from scratch. 2004-05-07 00:55:14 +00:00
udp_var.h no space between function name and paren: foo (blah) -> foo(blah) 2004-04-21 17:49:46 +00:00