aboutsummaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-07-06 11:13:24 +0000
committerKristof Provost <kp@FreeBSD.org>2021-07-30 09:45:28 +0000
commitb69019c14cd89a5e699bc6e69941aec5b1041b1e (patch)
tree6185b9022dff736a3b8d58462c5921343a3e99a8 /sys/net/pfvar.h
parent9d3b47abbba74830661e90206cc0f692b159c432 (diff)
downloadsrc-b69019c14cd89a5e699bc6e69941aec5b1041b1e.tar.gz
src-b69019c14cd89a5e699bc6e69941aec5b1041b1e.zip
pf: remove DIOCGETSTATESNV
While nvlists are very useful in maximising flexibility for future extensions their performance is simply unacceptably bad for the getstates feature, where we can easily want to export a million states or more. The DIOCGETSTATESNV call has been MFCd, but has not hit a release on any branch, so we can still remove it everywhere. Reviewed by: mjg MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D31099
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index e13b3b61c1a3..17d1e8c1a047 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1671,7 +1671,6 @@ struct pfioc_iface {
#define DIOCNATLOOK _IOWR('D', 23, struct pfioc_natlook)
#define DIOCSETDEBUG _IOWR('D', 24, u_int32_t)
#define DIOCGETSTATES _IOWR('D', 25, struct pfioc_states)
-#define DIOCGETSTATESNV _IOWR('D', 25, struct pfioc_nv)
#define DIOCCHANGERULE _IOWR('D', 26, struct pfioc_rule)
/* XXX cut 26 - 28 */
#define DIOCSETTIMEOUT _IOWR('D', 29, struct pfioc_tm)