diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-04-20 18:56:20 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:29:10 -0400 |
commit | bf99f1bde3b3009af74874f3465f6861431fbb66 (patch) | |
tree | ec3ee5ca8e95e090d65671d74994b7729058c845 /include | |
parent | 628a5c561890a9a9a74dea017873530584aab06e (diff) |
[IPV6] SNMP: Netlink interface.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/if_link.h | 1 | ||||
-rw-r--r-- | include/net/ipv6.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/if_link.h b/include/linux/if_link.h index 35ed3b5467f3..604c2434f71c 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h | |||
@@ -126,6 +126,7 @@ enum | |||
126 | IFLA_INET6_STATS, /* statistics */ | 126 | IFLA_INET6_STATS, /* statistics */ |
127 | IFLA_INET6_MCAST, /* MC things. What of them? */ | 127 | IFLA_INET6_MCAST, /* MC things. What of them? */ |
128 | IFLA_INET6_CACHEINFO, /* time values and max reasm size */ | 128 | IFLA_INET6_CACHEINFO, /* time values and max reasm size */ |
129 | IFLA_INET6_ICMP6STATS, /* statistics (icmpv6) */ | ||
129 | __IFLA_INET6_MAX | 130 | __IFLA_INET6_MAX |
130 | }; | 131 | }; |
131 | 132 | ||
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 00328b71a08c..4408def379bf 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -172,6 +172,7 @@ int snmp6_alloc_dev(struct inet6_dev *idev); | |||
172 | int snmp6_free_dev(struct inet6_dev *idev); | 172 | int snmp6_free_dev(struct inet6_dev *idev); |
173 | int snmp6_mib_init(void *ptr[2], size_t mibsize, size_t mibalign); | 173 | int snmp6_mib_init(void *ptr[2], size_t mibsize, size_t mibalign); |
174 | void snmp6_mib_free(void *ptr[2]); | 174 | void snmp6_mib_free(void *ptr[2]); |
175 | void snmp6_fill_stats(u64 *stats, struct inet6_dev *idev, int attrtype, int bytes); | ||
175 | 176 | ||
176 | struct ip6_ra_chain | 177 | struct ip6_ra_chain |
177 | { | 178 | { |