linux/net
Martin Hundebøll f8214865a5 batman-adv: Add get_ethtool_stats() support
Added additional counters in a bat_stats structure, which are exported
through the ethtool api. The counters are specific to batman-adv and
includes:
 forwarded packets and bytes
 management packets and bytes (aggregated OGMs at this point)
 translation table packets

New counters are added by extending "enum bat_counters" in types.h and
adding corresponding  descriptive string(s) to bat_counters_strings in
soft-iface.c.

Counters are increased by calling batadv_add_counter() and incremented
by one by calling batadv_inc_counter().

Signed-off-by: Martin Hundebøll <martin@hundeboll.net>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2012-06-18 18:00:58 +02:00
..
9p net/9p: Add __force to cast of __user pointer 2012-06-04 13:51:17 -04:00
802
8021q
appletalk appletalk: Remove out of date message in printk 2012-06-07 13:11:59 -07:00
atm net: Remove casts to same type 2012-06-04 11:45:11 -04:00
ax25 net: use consume_skb() in place of kfree_skb() 2012-06-04 11:27:40 -04:00
batman-adv batman-adv: Add get_ethtool_stats() support 2012-06-18 18:00:58 +02:00
bluetooth Bluetooth: Fix checking the wrong flag when accepting a socket 2012-06-05 06:26:26 +03:00
bridge netfilter: bridge: switch hook PFs to nfproto 2012-06-07 14:58:42 +02:00
caif
can Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-15 15:51:55 -07:00
ceph
core Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-15 15:51:55 -07:00
dcb dcbnl: Use BUG_ON() instead of BUG() 2012-06-14 01:45:46 -07:00
dccp ipv6: Handle PMTU in ICMP error handlers. 2012-06-15 14:54:11 -07:00
decnet Merge branch 'master' of git://1984.lsi.us.es/net-next 2012-06-11 12:56:14 -07:00
dns_resolver
dsa
ethernet
ieee802154
ipv4 ipv4: Cap ADVMSS metric in the FIB rather than the routing cache. 2012-06-17 19:47:34 -07:00
ipv6 Merge branch 'master' of git://1984.lsi.us.es/nf-next 2012-06-16 15:23:35 -07:00
ipx
irda net: Remove casts to same type 2012-06-04 11:45:11 -04:00
iucv net: remove skb_orphan_try() 2012-06-15 15:30:15 -07:00
key
l2tp Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-12 21:59:18 -07:00
lapb
llc
mac80211 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-12 21:59:18 -07:00
mac802154
netfilter Merge branch 'master' of git://1984.lsi.us.es/nf-next 2012-06-16 15:23:35 -07:00
netlabel
netlink
netrom
nfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-06-12 21:59:18 -07:00
openvswitch
packet af_packet: use sizeof instead of constant in spkt_device 2012-06-11 16:51:51 -07:00
phonet
rds
rfkill rfkill: Add the capability to switch all devices of all type in __rfkill_switch_all(). 2012-06-06 15:18:17 -04:00
rose
rxrpc ipv4: Kill ip_rt_frag_needed(). 2012-06-11 02:08:59 -07:00
sched sch_atm.c: get rid of poinless extern 2012-06-01 10:37:18 -04:00
sctp
sunrpc Merge branch 'for-3.5' of git://linux-nfs.org/~bfields/linux 2012-06-01 08:32:58 -07:00
tipc net: Remove casts to same type 2012-06-04 11:45:11 -04:00
unix af_unix: remove unix_iter_state 2012-06-09 19:06:21 -07:00
wanrouter
wimax
wireless cfg80211: validate remain-on-channel time better 2012-06-06 15:20:22 -04:00
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c