svn commit: r275044 - head/lib/libc/net
Sergey Kandaurov
pluknet at FreeBSD.org
Tue Nov 25 15:09:35 UTC 2014
Author: pluknet
Date: Tue Nov 25 15:09:34 2014
New Revision: 275044
URL: https://svnweb.freebsd.org/changeset/base/275044
Log:
Fix ifa_data description.
PR: 176583
Discussed with: glebius
MFC after: 1 week
Sponsored by: Nginx, Inc.
Modified:
head/lib/libc/net/getifaddrs.3
Modified: head/lib/libc/net/getifaddrs.3
==============================================================================
--- head/lib/libc/net/getifaddrs.3 Tue Nov 25 14:40:38 2014 (r275043)
+++ head/lib/libc/net/getifaddrs.3 Tue Nov 25 15:09:34 2014 (r275044)
@@ -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
More information about the svn-src-all
mailing list