]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: Move ioctl abstraction functions into libpfctl
authorKristof Provost <kp@FreeBSD.org>
Fri, 26 Mar 2021 10:38:58 +0000 (11:38 +0100)
committerKristof Provost <kp@FreeBSD.org>
Fri, 7 May 2021 08:16:01 +0000 (10:16 +0200)
commitb42eb4ffe5ea7323872dbda1e711a65cd30340bb
tree2e9acf0754f9927e14d93482630f80c22a2b2ea6
parentb5a4314fb3128c7fad26325e31c1a35b6d0a9e6b
pfctl: Move ioctl abstraction functions into libpfctl

Introduce a library to wrap the pf ioctl interface.

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

(cherry picked from commit 0d71f9f36e6c1849fdaf6c1edc1178be07357034)
lib/Makefile
lib/libpfctl/Makefile [new file with mode: 0644]
lib/libpfctl/libpfctl.c [moved from sbin/pfctl/pfctl_ioctl.c with 62% similarity]
lib/libpfctl/libpfctl.h [new file with mode: 0644]
sbin/pfctl/Makefile
sbin/pfctl/parse.y
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl_ioctl.h
sbin/pfctl/pfctl_optimize.c
sbin/pfctl/pfctl_parser.h
share/mk/src.libnames.mk