summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_iface.4
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-12-21 01:25:21 +0000
committerjulian <julian@FreeBSD.org>1999-12-21 01:25:21 +0000
commit443430016ec78bb04567a578c007b74e84575dd1 (patch)
treec186d4285318db13cd0ced96f929b0001e3d7016 /share/man/man4/ng_iface.4
parentb8abdf85cef25cc056288b6e4a2e277af4cb63ed (diff)
downloadFreeBSD-src-443430016ec78bb04567a578c007b74e84575dd1.zip
FreeBSD-src-443430016ec78bb04567a578c007b74e84575dd1.tar.gz
Manual page style work.
Submitted by: Alexey Zelkin <phantom@FreeBSD.org> thanks!
Diffstat (limited to 'share/man/man4/ng_iface.4')
-rw-r--r--share/man/man4/ng_iface.436
1 files changed, 22 insertions, 14 deletions
diff --git a/share/man/man4/ng_iface.4 b/share/man/man4/ng_iface.4
index 376b5c5..40c6f88 100644
--- a/share/man/man4/ng_iface.4
+++ b/share/man/man4/ng_iface.4
@@ -37,7 +37,7 @@
.\"
.Dd January 19, 1999
.Dt NG_IFACE 8
-.Os FreeBSD 4.0
+.Os FreeBSD
.Sh NAME
.Nm ng_iface
.Nd interface netgraph node type
@@ -47,7 +47,7 @@
An
.Nm iface
node is both a netgraph node and a system networking interface. When an
-.Nm iface
+.Nm
node is created, a new point-to-point interface appears which is accessible via
.Xr ifconfig 8 .
The new interfaces are named
@@ -56,8 +56,9 @@ The new interfaces are named
etc. The node is assigned the same name as its interface, unless the name
already exists, in which case the node remains unnamed.
.Pp
-.Nm Iface
-nodes have a single hook corresponding to each supported protocol.
+An
+.Nm
+node has a single hook corresponding to each supported protocol.
Packets transmitted via the interface flow out the corresponding
protocol-specific hook.
Similarly, packets received on a hook appear on the interface as
@@ -66,8 +67,9 @@ packets received in the corresponding protocol.
The currently supported protocols are IP, IPX, AppleTalk, and NS.
In the KLD module, only support for IP is compiled in by default.
.Pp
-.Nm Iface
-nodes support the Berkeley Packet Filter (BPF).
+An
+.Nm
+node supports the Berkeley Packet Filter (BPF).
.Sh HOOKS
This node type supports the following hooks:
.Pp
@@ -96,7 +98,7 @@ struct ng_iface_ifname {
Returns the list of addresses associated with this interface.
The list is returned in the same format as the
.Dv SIOCGIFCONF
-ioctl().
+.Fn ioctl .
.It Dv NGM_CISCO_GET_IPADDR
This message is defined by the
.Xr ng_cisco 8
@@ -106,8 +108,9 @@ for a description.
.El
.Sh SHUTDOWN
Because it is currently not possible to remove a system networking
-interface in FreeBSD,
-.Nm iface
+interface in
+.Fx ,
+.Nm
nodes are
.Em persistent.
That is, once created they are never destroyed.
@@ -115,12 +118,17 @@ The receipt of a
.Dv NGM_SHUTDOWN
control message disconnects all hooks but does not remove the node.
.Sh SEE ALSO
-.Xr netgraph 4 ,
.Xr bpf 4 ,
+.Xr netgraph 4 ,
+.Xr ifconfig 8 ,
.Xr ng_cisco 8 ,
.Xr ng_ppp 8 ,
.Xr ng_rfc1490 8 ,
-.Xr ngctl 8 ,
-.Xr ifconfig 8 .
-.Sh AUTHOR
-Archie Cobbs <archie@whistle.com>
+.Xr ngctl 8 .
+.Sh HISTORY
+The
+.Nm
+node type was implemented in
+.Fx 4.0 .
+.Sh AUTHORS
+.An Archie Cobbs Aq archie@whistle.com
OpenPOWER on IntegriCloud