rtnetlink.7: Update description of IFLA_STATS to Linux 2.6+ reality

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526778

Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-11-11 13:01:19 +01:00
parent 94c0ab851a
commit 3036baf00e
1 changed files with 5 additions and 2 deletions

View File

@ -8,7 +8,7 @@
.\" Based on the original comments from Alexey Kuznetsov, written with .\" Based on the original comments from Alexey Kuznetsov, written with
.\" help from Matthew Wilcox. .\" help from Matthew Wilcox.
.\" $Id: rtnetlink.7,v 1.8 2000/01/22 01:55:04 freitag Exp $ .\" $Id: rtnetlink.7,v 1.8 2000/01/22 01:55:04 freitag Exp $
.TH RTNETLINK 7 2012-05-10 "Linux" "Linux Programmer's Manual" .TH RTNETLINK 7 2012-11-11 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
rtnetlink \- Linux IPv4 routing socket rtnetlink \- Linux IPv4 routing socket
.SH SYNOPSIS .SH SYNOPSIS
@ -104,7 +104,10 @@ T}:Interface Statistics.
.sp .sp
The value type for The value type for
.B IFLA_STATS .B IFLA_STATS
is \fIstruct net_device_stats\fP. is
.IR "struct rtnl_link_stats"
.RI ( "struct net_device_stats"
in Linux 2.4 and earlier).
.TP .TP
.BR RTM_NEWADDR ", " RTM_DELADDR ", " RTM_GETADDR .BR RTM_NEWADDR ", " RTM_DELADDR ", " RTM_GETADDR
Add, remove or receive information about an IP address associated with Add, remove or receive information about an IP address associated with