Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Nov 2014 15:09:35 +0000 (UTC)
From:      Sergey Kandaurov <pluknet@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r275044 - head/lib/libc/net
Message-ID:  <201411251509.sAPF9Z87010378@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411251509.sAPF9Z87010378>