HomeFreeBSD

pfsync: replace struct pfsync_pkt with int flags

Description

pfsync: replace struct pfsync_pkt with int flags

Get rid of struct pfsync_pkt. It was used to store data on the stack to
pass to all the submessage handlers, but only the flags part of it was
ever used. Just pass the flags directly instead.

Reviewed by: kp
Obtained from: OpenBSD
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D36294

Details

Provenance
email_luiz.eng.brAuthored on Aug 22 2022, 6:54 PM
kpCommitted on Aug 22 2022, 9:46 PM
Reviewer
kp
Differential Revision
D36294: pfsync: Replace struct pfsync_pkt with int flags
Parents
rGfba998a3d897: tools/build: Unbreak bmake bootstrap on Linux
Branches
Unknown
Tags
Unknown