summaryrefslogtreecommitdiff
path: root/lib/route/link.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-11 23:14:57 +0100
committerThomas Graf <tgraf@suug.ch>2010-11-11 23:14:57 +0100
commite69efadc46c1395a281a540d9721c8f8af0c8a22 (patch)
treecbfe361bf16710c52712b9560360cdb70d134692 /lib/route/link.c
parent407e9eb05db556522eb319c1a513399f3c6b822e (diff)
downloadlibnl-e69efadc46c1395a281a540d9721c8f8af0c8a22.tar.gz
Add support for per interface ICMPv6 statistics
Diffstat (limited to 'lib/route/link.c')
-rw-r--r--lib/route/link.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/route/link.c b/lib/route/link.c
index d54082a..6e6460b 100644
--- a/lib/route/link.c
+++ b/lib/route/link.c
@@ -1258,6 +1258,10 @@ static struct trans_tbl link_stats[] = {
__ADD(RTNL_LINK_OUTMCASTOCTETS, OutMcastOctets)
__ADD(RTNL_LINK_INBCASTOCTETS, InBcastOctets)
__ADD(RTNL_LINK_OUTBCASTOCTETS, OutBcastOctets)
+ __ADD(RTNL_LINK_ICMP6_INMSGS, ICMP6_InMsgs)
+ __ADD(RTNL_LINK_ICMP6_INERRORS, ICMP6_InErrors)
+ __ADD(RTNL_LINK_ICMP6_OUTMSGS, ICMP6_OutMsgs)
+ __ADD(RTNL_LINK_ICMP6_OUTERRORS, ICMP6_OutErrors)
};
char *rtnl_link_stat2str(int st, char *buf, size_t len)