summaryrefslogtreecommitdiff
path: root/usr/src/man/man3socket/getifaddrs.3socket
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2017-06-26 16:06:52 +0000
committerRobert Mustacchi <rm@joyent.com>2017-06-26 17:14:00 +0000
commitf67cf39ba88ad7c4bee81445cc7a7468e0289f01 (patch)
treeabf954a14cf966983d08b93ea8b2e51e551e3a19 /usr/src/man/man3socket/getifaddrs.3socket
parent7edb9f69d2426b044fa60c7a168c9eaeb12f1884 (diff)
downloadillumos-joyent-f67cf39ba88ad7c4bee81445cc7a7468e0289f01.tar.gz
backout: 3729 getifaddrs must learn to stop worrying and love the other address families (breaks consumers)
Diffstat (limited to 'usr/src/man/man3socket/getifaddrs.3socket')
-rw-r--r--usr/src/man/man3socket/getifaddrs.3socket18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/src/man/man3socket/getifaddrs.3socket b/usr/src/man/man3socket/getifaddrs.3socket
index 4b9c40b7f5..69324271af 100644
--- a/usr/src/man/man3socket/getifaddrs.3socket
+++ b/usr/src/man/man3socket/getifaddrs.3socket
@@ -12,7 +12,7 @@
.\"
.\" Copyright (c) 2013, Joyent, Inc. All rights reserved.
.\"
-.TH GETIFADDRS 3SOCKET "May 18, 2017"
+.TH GETIFADDRS 3SOCKET "Apr 18, 2013"
.SH NAME
getifaddrs, freeifaddrs \- get interface addresses
.SH SYNOPSIS
@@ -97,9 +97,7 @@ for more information.
.sp
.LP
-The \fIifa_data\fR member is specific to the address family. It is currently
-only available for AF_LINK entries where it contains a pointer to the
-\fBstruct if_data\fR (as defined in \fBif.h\fR(3HEAD)).
+The \fIifa_data\fR member is presently unused.
.sp
.LP
@@ -137,9 +135,11 @@ MT-Level MT-Safe
.SH NOTES
.LP
-This function lists interfaces of type AF_INET, AF_INET6, and AF_LINK.
-For AF_INET and AF_INET6 only interfaces with the \fBIFF_UP\fR
-flag set are listed; see \fBif_tcp\fR(7P) and \fBifconfig\fR(1M) for more
-information. For AF_LINK entries the interface index is only available when the
-link is plumbed.
+On an illumos system, this function lists only interfaces with the \fBIFF_UP\fR
+flag set; see \fBif_tcp\fR(7P) and \fBifconfig\fR(1M) for more information.
+.SH BUGS
+.LP
+At present, this function only lists addresses from the \fBAF_INET\fR and
+\fBAF_INET6\fR families. Other families, such as \fBAF_LINK\fR, are not
+included.