freebsd-dev/sbin/pfctl
Kristof Provost 4eabfe468b pfctl: Fix clearing rules counters
After the migration to libpfctl for rule retrieval we accidentally lost
support for clearing the rules counters.

Introduce a get_clear variant of pfctl_get_rule() which allows rules
counters to be cleared.

MFC after:	4 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29727
2021-04-14 13:33:02 +02:00
..
tests sbin/pfctl: fix tests after recent output changes 2021-02-04 17:56:26 +00:00
Makefile pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
Makefile.depend
parse.y pf: Implement the NAT source port selection of MAP-E Customer Edge 2021-04-13 10:53:18 +02:00
pf_print_state.c
pf_ruleset.c libpfctl: Switch to pfctl_rule 2021-04-10 11:16:02 +02:00
pf.os
pfctl_altq.c pfctl: FreeBSD now supports DIOCGIFSPEED 2021-01-25 19:58:22 +01:00
pfctl_ioctl.h pfctl: Move ioctl abstraction functions into libpfctl 2021-04-10 11:16:02 +02:00
pfctl_optimize.c libpfctl: Switch to pfctl_rule 2021-04-10 11:16:02 +02:00
pfctl_osfp.c
pfctl_parser.c pf: Implement the NAT source port selection of MAP-E Customer Edge 2021-04-13 10:53:18 +02:00
pfctl_parser.h pfctl, libpfctl: introduce pfctl_pool 2021-04-12 18:30:29 +02:00
pfctl_qstats.c
pfctl_radix.c pfctl: Warn users when they run into kernel limits 2019-12-14 02:03:47 +00:00
pfctl_table.c
pfctl.8
pfctl.c pfctl: Fix clearing rules counters 2021-04-14 13:33:02 +02:00
pfctl.h libpfctl: Switch to pfctl_rule 2021-04-10 11:16:02 +02:00