mirror of
https://github.com/vishvananda/netlink
synced 2025-02-12 10:06:54 +00:00
This patch adds ClassStatistics, a struct that represents the stats of a class based on genric networking stats for netlink, to ClassAttrs. The parsers for rtattrs in type of TCA_STATS and TCA_STATS2 are introduced as well and the stats are appropriately parsed as a part of ClassAttrs struct. The practical tests for stats are not contained in this patch yet since it requires the actual packet sending/receiving in the random timing, which makes the tests complicated and flaky. Once we figure it out how to test them in the proper way, they shall be added. Signed-off-by: Taku Fukushima <taku@soracom.jp> |
||
---|---|---|
.. | ||
addr_linux_test.go | ||
addr_linux.go | ||
bridge_linux_test.go | ||
bridge_linux.go | ||
conntrack_linux.go | ||
genetlink_linux.go | ||
link_linux_test.go | ||
link_linux.go | ||
mpls_linux.go | ||
nl_linux_test.go | ||
nl_linux.go | ||
nl_unspecified.go | ||
route_linux_test.go | ||
route_linux.go | ||
seg6_linux.go | ||
syscall.go | ||
tc_linux_test.go | ||
tc_linux.go | ||
xfrm_linux_test.go | ||
xfrm_linux.go | ||
xfrm_monitor_linux_test.go | ||
xfrm_monitor_linux.go | ||
xfrm_policy_linux_test.go | ||
xfrm_policy_linux.go | ||
xfrm_state_linux_test.go | ||
xfrm_state_linux.go |