summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/ng_iface.414
-rw-r--r--share/man/man4/ng_sppp.414
2 files changed, 12 insertions, 16 deletions
diff --git a/share/man/man4/ng_iface.4 b/share/man/man4/ng_iface.4
index abc5243..a35ba6d 100644
--- a/share/man/man4/ng_iface.4
+++ b/share/man/man4/ng_iface.4
@@ -35,7 +35,7 @@
.\" $FreeBSD$
.\" $Whistle: ng_iface.8,v 1.5 1999/01/25 23:46:26 archie Exp $
.\"
-.Dd January 19, 1999
+.Dd February 3, 2005
.Dt NG_IFACE 4
.Os
.Sh NAME
@@ -104,13 +104,11 @@ Transmission and reception of NS packets.
This node type supports the generic control messages, plus the following:
.Bl -tag -width foo
.It Dv NGM_IFACE_GET_IFNAME
-Returns the name of the interface corresponding to this node in a
-.Dv "struct ng_iface_ifname" :
-.Bd -literal -offset 4n
-struct ng_iface_ifname {
- char ngif_name[NG_IFACE_IFACE_NAME_MAX + 1];
-};
-.Ed
+Returns the name of the associated interface as a
+.Dv NUL Ns -terminated
+.Tn ASCII
+string.
+Normally this is the same as the name of the node.
.It Dv NGM_IFACE_POINT2POINT
Set the interface to point-to-point mode.
The interface must not currently be up.
diff --git a/share/man/man4/ng_sppp.4 b/share/man/man4/ng_sppp.4
index 572cc52..49f8a4c 100644
--- a/share/man/man4/ng_sppp.4
+++ b/share/man/man4/ng_sppp.4
@@ -12,7 +12,7 @@
.\" Cronyx Id: ng_sppp.4,v 1.1.2.3 2004/03/30 14:28:34 rik Exp $
.\" $FreeBSD$
.\"
-.Dd March 29, 2004
+.Dd February 3, 2005
.Dt NG_SPPP 4
.Os
.Sh NAME
@@ -101,13 +101,11 @@ The connection to the synchronous line.
This node type supports the generic control messages, plus the following:
.Bl -tag -width indent
.It Dv NGM_IFACE_GET_IFNAME
-Returns the name of the interface corresponding to this node in a
-.Vt "struct ng_iface_ifname" :
-.Bd -literal -offset indent
-struct ng_iface_ifname {
- char ngif_name[NG_SPPP_IFACE_NAME_MAX + 1];
-};
-.Ed
+Returns the name of the associated interface as a
+.Dv NUL Ns -terminated
+.Tn ASCII
+string.
+Normally this is the same as the name of the node.
.El
.Sh SHUTDOWN
This node shuts down upon receipt of a
OpenPOWER on IntegriCloud