Age | Commit message (Collapse) | Author |
|
This would indicate that we hang a TC object to the tree root.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
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>
|
|
Fixes sparse warnings:
attr.c:114:6: warning: symbol 'attr_def_free' was not declared. Should it be static?
element.c:116:16: warning: symbol '__lookup_element' was not declared. Should it be static?
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes sparse warnings:
bmon.c:36:5: warning: symbol 'do_quit' was not declared. Should it be static?
bmon.c:37:5: warning: symbol 'is_daemon' was not declared. Should it be static?
bmon.c:91:12: warning: symbol 'sig_int' was not declared. Should it be static?
bmon.c:98:6: warning: symbol 'sig_exit' was not declared. Should it be static?
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fix sparse warning:
out_curses.c:433:25: warning: Using plain integer as NULL pointer
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fix sparse message:
out_curses.c:140:6: warning: symbol 'float2str' was not declared. Should it be static?
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Add additional IPv6 link stats
|
|
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>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
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>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
|
|
|
|
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>
|
|
`cfg_setbool` instead
|
|
Including:
- MTU
- Metric
- RX/TX IRQ Quota
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes: CID 49003
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes: CID 49000
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes: CID 49001
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes: CID 49002
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Reported by clang. Repo compiles cleanly with clang at this point.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Previously, pressing '?' only made the quick help appear but not
disappear again.
Reported-by: Bill [github id "broomdodger"]
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Now that we support multiple divisor variants caching no longer makes sense
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes display problems with plain ascii output
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Ensure that branching does not leave behind uninitialized variables
Reported-by: dcb314
Signed-off-by: Thomas Graf <tgraf@suug.ch>
|
|
Fixes 'bmon -i dummy:randomize' SIGSEGV
|
|
Reverse 'value' and 'type' parameters order in dummy_parse_opt()
function.
|
|
|
|
* hyphen-used-as-minus-sign
* spelling-error-in-binary usr/bin/bmon childs children
|
|
Enforces a single registration of a module with a subsystem.
module_register() now returns -EBUSY if module is already
registered.
Adds support for BMON_MODULE_AUTO to flag modules that should
be autoloaded upon the first call to module_set(). Loading
will succeed if the probe() function succeeds.
|
|
|
|
|