pf: Remove PFRULE_REFS from userspace

PFRULE_REFS should never be used by userspace, so hide it behind #ifdef
_KERNEL.

MFC after:	never
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29779
This commit is contained in:
Kristof Provost 2021-04-15 13:41:07 +02:00
parent 4f1f67e888
commit 8bb0f1b87b

View File

@ -561,7 +561,10 @@ struct pf_rule {
#define PFRULE_NOSYNC 0x0010
#define PFRULE_SRCTRACK 0x0020 /* track source states */
#define PFRULE_RULESRCTRACK 0x0040 /* per rule */
#ifdef _KERNEL
#define PFRULE_REFS 0x0080 /* rule has references */
#endif
/* scrub flags */
#define PFRULE_NODF 0x0100