]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: Move prototypes for userspace functions to userspace header
authorKristof Provost <kp@FreeBSD.org>
Wed, 7 Apr 2021 17:49:51 +0000 (19:49 +0200)
committerKristof Provost <kp@FreeBSD.org>
Fri, 7 May 2021 08:16:01 +0000 (10:16 +0200)
commit7d9af27cd6f5fd583636c8d3b9107021f0f16e1c
tree2401278a4de293f643b6cd09ef547ac94773290e
parentaa1d70283bee4a679ff816357867a36152bd7293
pf: Move prototypes for userspace functions to userspace header

These functions no longer exist in the kernel, so there's no reason to
keep the prototypes in a kernel header. Move them to pfctl where they're
actually implemented.

Reviewed by: glebius
MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D29643

(cherry picked from commit a9b338b260be39cc74dddb599d6c95b8794ca98b)
sbin/pfctl/pf_ruleset.c
sbin/pfctl/pfctl.h
sys/netpfil/pf/pf.h