summaryrefslogtreecommitdiffstats
path: root/src/in_netlink.c
AgeCommit message (Collapse)Author
2015-12-16netlink: BUG() if we don't have parent informationThomas Graf
This would indicate that we hang a TC object to the tree root. Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16netlink: Use ifindex of parent TC object when searching leaf qdiscsThomas Graf
The qdisc cache is host wide, the parent classid is not unique so the ifindex of the parent tc object must be set in the filter otherwise a leaf qdisc with an identical parent id in another device can be mistaken. This also converts the class_cache to be passed up through the stack to make clear it is not system wide but specific to the ifindex we are currently handling. Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-11-15Merge pull request #30 from tklauser/ip6-link-statsThomas Graf
Add additional IPv6 link stats
2015-08-06Add additional IPv6 link statsTobias Klauser
Hook up additional IPv6 link statistics counters available since libnl v3.2.25. Also add compatibility defines, so bmon can still be compiled against older libnl versions. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2015-07-25netlink: Only disable TC stats if QoS is not available in kernelThomas Graf
Up to now, the entire Netlink module was disable if QoS statistics were not available. Merely disable TC stats themselves but continue using the input module. Reported-by: Wen Chiu <Wen.Chiu@brocade.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-05-31Fix wrong unit displayed when using "--use-bit" optionChocobo1
2015-04-30Explicitly include linux/if.h to fix cross-compile errorTobias Klauser
When compiling bmon with the Linaro 2014.01 ARM toolchain (gcc-linaro-arm-linux-gnueabihf-4.8-2014.01_linux) the following compile error occurs: in_netlink.c: In function ‘do_link’: in_netlink.c:688:53: error: ‘IFF_UP’ undeclared (first use in this function) Fix it by explicitly including linux/if.h, where IFF_UP is defined. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2014-08-25Remove unused variablesThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02osx: bmon v3.2 compiles and linksŽilvinas Valinskas
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com> Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-04-30Fix spelling of Packets.Andrew McCarthy
2013-07-05Initial importThomas Graf