diff options
Diffstat (limited to 'sys/modules/netgraph/iface/ng_iface.8')
-rw-r--r-- | sys/modules/netgraph/iface/ng_iface.8 | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/sys/modules/netgraph/iface/ng_iface.8 b/sys/modules/netgraph/iface/ng_iface.8 index 376b5c5..40c6f88 100644 --- a/sys/modules/netgraph/iface/ng_iface.8 +++ b/sys/modules/netgraph/iface/ng_iface.8 @@ -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 |