ieee802154: 6lowpan: add tx/rx stats
authorAlexander Aring <alex.aring@gmail.com>
Wed, 30 Sep 2015 08:20:11 +0000 (10:20 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 30 Sep 2015 11:23:57 +0000 (13:23 +0200)
commit1c64f147d3cc9bbafe091a7b335ea3ec700186f0
tree9af28fa3e5e8c586d1a6ea85a31ec570e6b9da07
parent4bc8fbc95e0d831e5e3800ecc8a8d5acac79c9a8
ieee802154: 6lowpan: add tx/rx stats

This patch adds support for increment transmit and receive stats. The
meaning of these stats are IPv6 based, which shows the stats after
running the 6lowpan adaptation layer (uncompression/compression,
fragmentation handling) on receive and before the adaptation layer
when transmit.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/6lowpan/rx.c
net/ieee802154/6lowpan/tx.c