Module Name: src Committed By: christos Date: Fri May 30 01:39:03 UTC 2014
Modified Files: src/sys/netinet: in.h in_pcb.c in_pcb_hdr.h ip_icmp.c ip_input.c ip_output.c raw_ip.c tcp_input.c tcp_output.c udp_usrreq.c src/sys/netinet6: icmp6.c in6.h in6_pcb.c ip6_forward.c ip6_input.c ip6_output.c raw_ip6.c udp6_usrreq.c src/sys/netipsec: ipsec.c ipsec.h ipsec_netbsd.c key.c key.h Log Message: Introduce 2 new variables: ipsec_enabled and ipsec_used. Ipsec enabled is controlled by sysctl and determines if is allowed. ipsec_used is set automatically based on ipsec being enabled, and rules existing. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 src/sys/netinet/in.h cvs rdiff -u -r1.147 -r1.148 src/sys/netinet/in_pcb.c cvs rdiff -u -r1.10 -r1.11 src/sys/netinet/in_pcb_hdr.h cvs rdiff -u -r1.133 -r1.134 src/sys/netinet/ip_icmp.c cvs rdiff -u -r1.316 -r1.317 src/sys/netinet/ip_input.c cvs rdiff -u -r1.228 -r1.229 src/sys/netinet/ip_output.c cvs rdiff -u -r1.123 -r1.124 src/sys/netinet/raw_ip.c cvs rdiff -u -r1.331 -r1.332 src/sys/netinet/tcp_input.c cvs rdiff -u -r1.175 -r1.176 src/sys/netinet/tcp_output.c cvs rdiff -u -r1.198 -r1.199 src/sys/netinet/udp_usrreq.c cvs rdiff -u -r1.167 -r1.168 src/sys/netinet6/icmp6.c cvs rdiff -u -r1.75 -r1.76 src/sys/netinet6/in6.h cvs rdiff -u -r1.124 -r1.125 src/sys/netinet6/in6_pcb.c cvs rdiff -u -r1.72 -r1.73 src/sys/netinet6/ip6_forward.c cvs rdiff -u -r1.145 -r1.146 src/sys/netinet6/ip6_input.c cvs rdiff -u -r1.156 -r1.157 src/sys/netinet6/ip6_output.c cvs rdiff -u -r1.117 -r1.118 src/sys/netinet6/raw_ip6.c cvs rdiff -u -r1.97 -r1.98 src/sys/netinet6/udp6_usrreq.c cvs rdiff -u -r1.62 -r1.63 src/sys/netipsec/ipsec.c cvs rdiff -u -r1.34 -r1.35 src/sys/netipsec/ipsec.h cvs rdiff -u -r1.36 -r1.37 src/sys/netipsec/ipsec_netbsd.c cvs rdiff -u -r1.87 -r1.88 src/sys/netipsec/key.c cvs rdiff -u -r1.12 -r1.13 src/sys/netipsec/key.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.