aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-05-05 12:33:55 +0000
committerKristof Provost <kp@FreeBSD.org>2021-05-20 10:49:26 +0000
commit1732afaa0dae9d844e341f2c1d6ed4b79c403bfb (patch)
treed81903e32937c9db973ce9b741280cdd957d624b /share
parent787845c0e8e831bf5b2d000950241cb23c16ca45 (diff)
downloadsrc-1732afaa0dae9d844e341f2c1d6ed4b79c403bfb.tar.gz
src-1732afaa0dae9d844e341f2c1d6ed4b79c403bfb.zip
pf: Add DIOCGETSTATENV
Add DIOCGETSTATENV, an nvlist-based alternative to DIOCGETSTATE. MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D30242
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/pf.44
1 files changed, 2 insertions, 2 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index 2fb132203908..24843535c924 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -326,14 +326,14 @@ struct pfioc_state {
struct pfsync_state state;
};
.Ed
-.It Dv DIOCGETSTATE Fa "struct pfioc_state *ps"
+.It Dv DIOCGETSTATENV Fa "struct pfioc_nv *nv"
Extract the entry identified by the
.Va id
and
.Va creatorid
fields of the
.Va state
-structure from the state table.
+nvlist from the state table.
.It Dv DIOCKILLSTATES Fa "struct pfioc_state_kill *psk"
Remove matching entries from the state table.
This ioctl returns the number of killed states in