summaryrefslogtreecommitdiffstats
path: root/share/man/man9/domain.9
diff options
context:
space:
mode:
authorbrueffer <brueffer@FreeBSD.org>2012-02-23 17:47:19 +0000
committerbrueffer <brueffer@FreeBSD.org>2012-02-23 17:47:19 +0000
commit8b76671a808d4da4c1024750a1119b0d1f620c94 (patch)
treed2c484f21925785621cd3c9b9ff470328821bbe2 /share/man/man9/domain.9
parenta05fe1c2c9c93b4362978465d9009af686302f2a (diff)
downloadFreeBSD-src-8b76671a808d4da4c1024750a1119b0d1f620c94.zip
FreeBSD-src-8b76671a808d4da4c1024750a1119b0d1f620c94.tar.gz
Catch up with r195837 (2.5 years ago) which renamed net_add_domain() to domain_add().
PR: 165424 Submitted by: Lachlan Kang MFC after: 1 week
Diffstat (limited to 'share/man/man9/domain.9')
-rw-r--r--share/man/man9/domain.912
1 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man9/domain.9 b/share/man/man9/domain.9
index e868c97..7d665b3 100644
--- a/share/man/man9/domain.9
+++ b/share/man/man9/domain.9
@@ -26,11 +26,11 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 23, 2008
+.Dd February 23, 2012
.Dt DOMAIN 9
.Os
.Sh NAME
-.Nm net_add_domain ,
+.Nm domain_add ,
.Nm pfctlinput ,
.Nm pfctlinput2 ,
.Nm pffindproto ,
@@ -43,7 +43,7 @@
.In sys/protosw.h
.In sys/domain.h
.Ft void
-.Fn net_add_domain "void *data"
+.Fn domain_add "void *data"
.Ft void
.Fn pfctlinput "int cmd" "struct sockaddr *sa"
.Ft void
@@ -142,7 +142,7 @@ have their
.Fn pr_ctlinput
function called.
.Pp
-.Fn net_add_domain
+.Fn domain_add
adds a new protocol domain to the system.
The argument
.Fa data
@@ -153,13 +153,13 @@ within the function, but is declared
in order to prevent compiler warnings when new domains are registered with
.Fn SYSINIT .
In most cases
-.Fn net_add_domain
+.Fn domain_add
is not called directly, instead
.Fn DOMAIN_SET
is used.
.Pp
If the new domain has defined an initialization routine, it is called by
-.Fn net_add_domain ;
+.Fn domain_add ;
as well, each of the protocols within the domain that have defined an
initialization routine will have theirs called.
.Pp
OpenPOWER on IntegriCloud