summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/netgraph.3
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-01-28 00:48:27 +0000
committerarchie <archie@FreeBSD.org>2000-01-28 00:48:27 +0000
commitf31600a4538b8a34be7a762a8a9e2279f278f5fd (patch)
tree7de73b89bae7b4f52d84df1dec41b529cf303d7e /lib/libnetgraph/netgraph.3
parent8d6158347d464a5c03ce4218f62f0c02ae59690b (diff)
downloadFreeBSD-src-f31600a4538b8a34be7a762a8a9e2279f278f5fd.zip
FreeBSD-src-f31600a4538b8a34be7a762a8a9e2279f278f5fd.tar.gz
Have NgMkSockNode() load the socket node type KLD if it's not
already loaded (indicated by EPROTONOSUPPORT from socket(2)).
Diffstat (limited to 'lib/libnetgraph/netgraph.3')
-rw-r--r--lib/libnetgraph/netgraph.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libnetgraph/netgraph.3 b/lib/libnetgraph/netgraph.3
index 8f33658..c30dc1b 100644
--- a/lib/libnetgraph/netgraph.3
+++ b/lib/libnetgraph/netgraph.3
@@ -95,6 +95,8 @@ associated with the node; either
or
.Fa "dsp"
may be NULL if only one socket is desired.
+.Fn NgMkSockNode
+loads the socket node type KLD if it's not already loaded.
.Pp
.Fn NgNameNode
assigns a global name to the node addressed by
@@ -273,10 +275,11 @@ ASCII control message array or fixed width string buffer overflow.
.El
.Sh SEE ALSO
.Xr netgraph 4 ,
+.Xr kld 4 ,
.Xr socket 2 ,
.Xr select 2 ,
.Xr warnx 3 ,
-.Xr ng_socket 8 .
+.Xr ng_socket 8
.Sh HISTORY
The
.Nm netgraph
OpenPOWER on IntegriCloud