diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-04-17 20:48:52 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-04-17 20:48:52 +0000 |
commit | 243a389a6ab4dfd405e3acb44510c86c9f0427af (patch) | |
tree | 3ee231eed6be924567c56bb3e98b8a07477c284f /sys/dev/dec | |
parent | 168c1fd50290b3cac3b75ebfeb69d1a4f531a191 (diff) |
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@
Diffstat (limited to 'sys/dev/dec')
0 files changed, 0 insertions, 0 deletions