aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2021-04-13 21:40:20 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2021-04-13 21:40:20 +0000
commit86887853c39b0803009579e2b927bd67d524af63 (patch)
tree443d7a3fef838c6433d6d7e6bee009d75e6aa564
parent5742f2d89c03311e8b2d92422c0e2e4063cb2e1d (diff)
downloadsrc-86887853c39b0803009579e2b927bd67d524af63.tar.gz
src-86887853c39b0803009579e2b927bd67d524af63.zip
Remove reference to the pfctlinput2() from domain(9) after 237c1f932b.
Reviewed by: glebius MFC After: 1 week Differential Revision: https://reviews.freebsd.org/D29751
-rw-r--r--ObsoleteFiles.inc3
-rw-r--r--share/man/man9/Makefile1
-rw-r--r--share/man/man9/domain.927
3 files changed, 4 insertions, 27 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index 39cb638129e9..5035017ade9e 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -40,6 +40,9 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20210413: Remove pfctlinput2
+OLD_FILES+=usr/share/man/man9/pfctlinput2.9.gz
+
# 20210412: Remove kernel asymmetric crypto
OLD_FILES+=usr/share/man/man9/crypto_asym.9
OLD_FILES+=usr/share/man/man9/crypto_kdispatch.9
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 1a68b1f80882..8c9906ce37b9 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1008,7 +1008,6 @@ MLINKS+=dnv.9 dnvlist.9 \
MLINKS+=domain.9 DOMAIN_SET.9 \
domain.9 domain_add.9 \
domain.9 pfctlinput.9 \
- domain.9 pfctlinput2.9 \
domain.9 pffinddomain.9 \
domain.9 pffindproto.9 \
domain.9 pffindtype.9
diff --git a/share/man/man9/domain.9 b/share/man/man9/domain.9
index d8dca08c8dab..e8f97253a1d4 100644
--- a/share/man/man9/domain.9
+++ b/share/man/man9/domain.9
@@ -26,13 +26,12 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 29, 2020
+.Dd April 13, 2021
.Dt DOMAIN 9
.Os
.Sh NAME
.Nm domain_add ,
.Nm pfctlinput ,
-.Nm pfctlinput2 ,
.Nm pffinddomain ,
.Nm pffindproto ,
.Nm pffindtype ,
@@ -47,8 +46,6 @@
.Fn domain_add "void *data"
.Ft void
.Fn pfctlinput "int cmd" "struct sockaddr *sa"
-.Ft void
-.Fn pfctlinput2 "int cmd" "struct sockaddr *sa" "void *ctlparam"
.Ft struct domain *
.Fn pffinddomain "int family"
.Ft struct protosw *
@@ -130,27 +127,6 @@ calls the protocol specific
.Fn pr_ctlinput
function for each protocol in that has defined one, in every domain.
.Pp
-.Fn pfctlinput2
-provides that same functionality of
-.Fn pfctlinput ,
-but with a few additional checks and a new
-.Vt "void *"
-argument that is passed directly to the protocol's
-.Fn pr_ctlinput
-function.
-Unlike
-.Fn pfctlinput ,
-.Fn pfctlinput2
-verifies that
-.Fa sa
-is not
-.Dv NULL ,
-and that only the protocol families that are the same as
-.Fa sa
-have their
-.Fn pr_ctlinput
-function called.
-.Pp
.Fn domain_add
adds a new protocol domain to the system.
The argument
@@ -240,7 +216,6 @@ types if the domain has a default raw protocol.
The functions
.Fn domain_add ,
.Fn pfctlinput ,
-.Fn pfctlinput2 ,
.Fn pffinddomain ,
.Fn pffindproto ,
.Fn pffindtype