prefix pf_state_key and pf_state_item struct bits to make them more unique.
authordlg <dlg@openbsd.org>
Wed, 21 Dec 2022 02:23:10 +0000 (02:23 +0000)
committerdlg <dlg@openbsd.org>
Wed, 21 Dec 2022 02:23:10 +0000 (02:23 +0000)
commit35751c747c9f1e1c8a27869d6c2516a9a1b31ef9
tree9c1935d5b6ccc03f7acd02cbeb6c214fb10be7f2
parent57cbee4c825ebaa1e6e0d9b84fc65379b9b8f4fb
prefix pf_state_key and pf_state_item struct bits to make them more unique.

this makes searching for the struct members easier, which in turn
makes tweaking code around them a lot easier too. sk_refcnt in
particular would have been a lot nicer to fiddle with than just
refcnt because pf_state structs also have a refcnt, which is annoying.

tweaks and ok sashan@
reads ok kn@
sys/net/pf.c
sys/net/pf_ioctl.c
sys/net/pfvar.h
sys/net/pfvar_priv.h