summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2014-11-25 15:09:34 +0000
committerpluknet <pluknet@FreeBSD.org>2014-11-25 15:09:34 +0000
commitbab7e5af6b7923ca067c65ae5641bd1110853174 (patch)
treeedfac4aa7ade97859c5a14574feed8a9a58caa55 /lib/libc
parent9f8278cc707f7ad5c0455cc82deb3952711714d8 (diff)
downloadFreeBSD-src-bab7e5af6b7923ca067c65ae5641bd1110853174.zip
FreeBSD-src-bab7e5af6b7923ca067c65ae5641bd1110853174.tar.gz
Fix ifa_data description.
PR: 176583 Discussed with: glebius MFC after: 1 week Sponsored by: Nginx, Inc.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/getifaddrs.322
1 files changed, 10 insertions, 12 deletions
diff --git a/lib/libc/net/getifaddrs.3 b/lib/libc/net/getifaddrs.3
index ff3f774..b0b17bb 100644
--- a/lib/libc/net/getifaddrs.3
+++ b/lib/libc/net/getifaddrs.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 21, 2013
+.Dd November 25, 2014
.Dt GETIFADDRS 3
.Os
.Sh NAME
@@ -110,19 +110,17 @@ if one exists, otherwise it is NULL.
.Pp
The
.Li ifa_data
-field references address family specific data.
-For
-.Dv AF_LINK
-addresses it contains a pointer to the
+field references address family specific data
+in a pointer to the
.Fa struct if_data
(as defined in include file
-.In net/if.h )
-which contains various interface attributes and statistics.
-For all other address families, it contains a pointer to the
-.Fa struct ifa_data
-(as defined in include file
-.In net/if.h )
-which contains per-address interface statistics.
+.In net/if.h ) .
+For
+.Dv AF_LINK
+addresses,
+it contains various interface attributes and statistics.
+For all other address families,
+it contains per-address interface statistics.
.Pp
The data returned by
.Fn getifaddrs
OpenPOWER on IntegriCloud