CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2024/04/17 14:48:51
Modified files:
sys/netinet : in_pcb.c in_pcb.h ip_ipsp.h ip_output.c
ip_spd.c ip_var.h raw_ip.c tcp_input.c
tcp_output.c tcp_subr.c udp_usrreq.c
sys/netinet6 : ip6_output.c ip6_var.h raw_ip6.c udp6_output.c
usr.bin/netstat: inet.c
Log message:
Use struct ipsec_level within inpcb.
Instead of passing around u_char[4], introduce struct ipsec_level
that contains 4 ipsec levels. This provides better type safety.
The embedding struct inpcb is globally visible for netstat(1), so
put struct ipsec_level outside of #ifdef _KERNEL.
OK deraadt@ mvs@