diff options
author | Thomas Graf <tgraf@suug.ch> | 2010-11-11 22:14:57 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2010-11-11 22:14:57 (GMT) |
commit | e69efadc46c1395a281a540d9721c8f8af0c8a22 (patch) | |
tree | cbfe361bf16710c52712b9560360cdb70d134692 /lib | |
parent | 407e9eb05db556522eb319c1a513399f3c6b822e (diff) | |
download | libnl-e69efadc46c1395a281a540d9721c8f8af0c8a22.zip libnl-e69efadc46c1395a281a540d9721c8f8af0c8a22.tar.gz libnl-e69efadc46c1395a281a540d9721c8f8af0c8a22.tar.bz2 |
Add support for per interface ICMPv6 statistics
Diffstat (limited to 'lib')
-rw-r--r-- | lib/route/link.c | 4 |
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) |