Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/share/man/man4 Pullup rev 1.12, approved by thorpej:
details: https://anonhg.NetBSD.org/src/rev/b0518cff6852
branches: netbsd-1-5
changeset: 489309:b0518cff6852
user: jhawk <jhawk%NetBSD.org@localhost>
date: Wed Aug 30 00:55:44 2000 +0000
description:
Pullup rev 1.12, approved by thorpej:
update Dd
correctly note use of struct ifaliasreq for SIOC[AD]IFADDR
Remove bogus reference to SIOCAIFCONF
diffstat:
share/man/man4/netintro.4 | 18 +++++++++++++-----
1 files changed, 13 insertions(+), 5 deletions(-)
diffs (58 lines):
diff -r 1ae89c5c634b -r b0518cff6852 share/man/man4/netintro.4
--- a/share/man/man4/netintro.4 Tue Aug 29 15:04:13 2000 +0000
+++ b/share/man/man4/netintro.4 Wed Aug 30 00:55:44 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: netintro.4,v 1.11 2000/04/08 03:31:05 erh Exp $
+.\" $NetBSD: netintro.4,v 1.11.4.1 2000/08/30 00:55:44 jhawk Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)netintro.4 8.2 (Berkeley) 11/30/93
.\"
-.Dd November 30, 1993
+.Dd August 29, 2000
.Dt NETINTRO 4
.Os
.Sh NAME
@@ -258,7 +258,9 @@
the address family is specified).
Rather than making separate calls to set destination or broadcast
addresses, or network masks (now an integral feature of multiple
-protocols) a separate structure is used to specify all three facets
+protocols) a separate structure,
+.Ar ifaliasreq ,
+is used to specify all three facets
simultaneously (see below).
One would use a slightly tailored version of this struct specific
to each family (replacing each sockaddr by one
@@ -272,12 +274,18 @@
This requests deletes the specified address from the list
associated with an interface.
It also uses the
-.Ar if_aliasreq
+.Ar ifaliasreq
structure to allow for the possibility of protocols allowing
multiple masks or destination addresses, and also adopts the
convention that specification of the default address means
to delete the first address for the interface belonging to
the address family in which the original socket was opened.
+.El
+.Pp
+Request making use of the
+.Ar ifconf
+structure:
+.Bl -tag -width SIOCGIFBRDADDR
.It Dv SIOCGIFCONF
Get interface configuration list.
This request takes an
@@ -293,7 +301,7 @@
.El
.Bd -literal
/*
-* Structure used in SIOCAIFCONF request.
+* Structure used in SIOC[AD]IFADDR request.
*/
struct ifaliasreq {
char ifra_name[IFNAMSIZ]; /* if name, e.g. "en0" */
Home |
Main Index |
Thread Index |
Old Index