linux/net/core
Nikolay Aleksandrov 97a47facf3 net: rtnetlink: add linkxstats callbacks and attribute
Add callbacks to calculate the size and fill link extended statistics
which can be split into multiple messages and are dumped via the new
rtnl stats API (RTM_GETSTATS) with the IFLA_STATS_LINK_XSTATS attribute.
Also add that attribute to the idx mask check since it is expected to
be able to save state and resume dumping (e.g. future bridge per-vlan
stats will be dumped via this attribute and callbacks).
Each link type should nest its private attributes under the per-link type
attribute. This allows to have any number of separated private attributes
and to avoid one call to get the dev link type.

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-02 22:27:06 -04:00
..
datagram.c udp: enable MSG_PEEK at non-zero offset 2016-04-05 16:29:37 -04:00
dev_addr_lists.c
dev_ioctl.c
dev.c net: constify is_skb_forwardable's arguments 2016-04-29 16:13:36 -04:00
devlink.c devlink: implement shared buffer occupancy monitoring interface 2016-04-14 16:22:03 -04:00
drop_monitor.c
dst_cache.c net: dst_cache_per_cpu_dst_set() can be static 2016-03-18 17:45:08 -04:00
dst.c
ethtool.c net: ethtool: export conversion function between u32 and link mode 2016-04-18 14:45:08 -04:00
fib_rules.c libnl: nla_put_be64(): align on a 64-bit area 2016-04-23 20:13:24 -04:00
filter.c bpf: add event output helper for notifications/sampling/logging 2016-04-19 20:26:11 -04:00
flow_dissector.c
flow.c
gen_estimator.c net: sched: Add description for cpu_bstats argument 2016-03-20 16:48:07 -04:00
gen_stats.c sched: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
hwbm.c
link_watch.c
lwtunnel.c
Makefile
neighbour.c neigh: align nlattr properly when needed 2016-04-26 12:00:49 -04:00
net_namespace.c
net-procfs.c net: remove NETDEV_TX_LOCKED support 2016-04-26 15:53:05 -04:00
net-sysfs.c
net-sysfs.h
net-traces.c
netclassid_cgroup.c
netevent.c
netpoll.c Revert "netpoll: Fix extra refcount release in netpoll_cleanup()" 2016-04-05 19:34:44 -04:00
netprio_cgroup.c
pktgen.c net: remove NETDEV_TX_LOCKED support 2016-04-26 15:53:05 -04:00
ptp_classifier.c
request_sock.c
rtnetlink.c net: rtnetlink: add linkxstats callbacks and attribute 2016-05-02 22:27:06 -04:00
scm.c
secure_seq.c
skbuff.c skbuff: Add pskb_extract() helper function 2016-04-25 16:54:14 -04:00
sock_diag.c sock_diag: align nlattr properly when needed 2016-04-26 12:00:48 -04:00
sock_reuseport.c
sock.c tcp: make tcp_sendmsg() aware of socket backlog 2016-05-02 17:02:26 -04:00
stream.c
sysctl_net_core.c
timestamping.c
tso.c
utils.c