rewrite the pf_state_peer_ntoh and pf_state_peer_hton macros as functions.
authordlg <dlg@openbsd.org>
Fri, 11 Nov 2022 11:02:35 +0000 (11:02 +0000)
committerdlg <dlg@openbsd.org>
Fri, 11 Nov 2022 11:02:35 +0000 (11:02 +0000)
commit4103306ead01e8d3532b293f8cd3d438413c56b2
tree6b1086b86c57d4b356f3d01e8bfd1d5362b1a32f
parentbd25c3007b75528acd661300d06ff901ab170b82
rewrite the pf_state_peer_ntoh and pf_state_peer_hton macros as functions.

i can read this code as functions, but it takes too much effort as macros.
sys/net/pf.c
sys/net/pfvar.h
sys/net/pfvar_priv.h