summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-12-16New API tokencoverity_scanThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16coverty: Update token and versionThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16build: Enable coverity scan through travis-ciThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
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-12-16bmon: Mark attr_def_free() and __lookup_element() staticThomas Graf
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>
2015-12-16bmon: Properly pass NULL pointers instead of 0Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16bmon: Remove dead code and make sig_exit() staticThomas Graf
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>
2015-12-16curses: Pass in proper NULL pointerThomas Graf
Fix sparse warning: out_curses.c:433:25: warning: Using plain integer as NULL pointer Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16curses: Make float2str staticThomas Graf
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>
2015-11-15Merge pull request #30 from tklauser/ip6-link-statsThomas Graf
Add additional IPv6 link stats
2015-08-09man: Fix --ouptut typoThomas Graf
Reported-by: xiaohuichan@gmail.com Signed-off-by: Thomas Graf <tgraf@suug.ch>
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-253.8 releasev3.8Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-07-25Update copyrightThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.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-06-30bmon 3.7 releasev3.7Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30man: Also mention --use-bit optionThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30format: Don't print error message for unavailable attributesThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30Document -b optionThomas Graf
Reported-by: Ross Patterson Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-05-31Merge pull request #25 from Chocobo1/bitsThomas Graf
Fix wrong unit displayed when using "--use-bit" option
2015-05-31Fix wrong unit displayed when using "--use-bit" optionChocobo1
2015-05-31Fix inconsistency in format module exampleChocobo1
2015-05-31man page: add explaination of SI uintsChocobo1
2015-04-30Merge pull request #24 from tklauser/cross-compile-fixThomas Graf
[v2] Explicitly include linux/if.h to fix cross-compile error
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>
2015-04-29README: Mention that ./autogen.sh must be run after git cloneThomas Graf
Reported-by: DavidRChristensen Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-04-29README: Mention ncurses-devel dependency in installation notesThomas Graf
Reported-by: DavidRChristensen Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-04-29Merge pull request #20 from Chocobo1/devThomas Graf
assertion failed in libConfuse
2015-01-19using `cfg_setint` is triggering an assertion in confuse library, should use ↵Chocobo1
`cfg_setbool` instead
2015-01-08Merge pull request #19 from halid/masterThomas Graf
Debian / Ubuntu Installation Procedures
2015-01-08Update README.mdHalid Altuner
make and build-essential package
2015-01-08Update README.mdHalid Altuner
debian installation procedures
2014-12-16BSD: Provide minimal interface informationThomas Graf
Including: - MTU - Metric - RX/TX IRQ Quota Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-11-22Provide download link in README.mdThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-11-223.6 releasev3.6Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-11-13Merge pull request #18 from gustavoz/masterThomas Graf
build: uclinux is also linux
2014-11-11build: uclinux is also linuxGustavo Zacarias
2014-09-05Fix LICENSE links in README.mdThomas Graf
Reported-by: Eric Leblond Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-303.5 releasev3.5Thomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-30travis: Run make distcheckThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-30Makefile: Fix README.md distribution inclusionThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25build: fail CI builds if a new warning is introducedThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25build: Enable -WallThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25Annotate unused variablesThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25Initialize t to silence uninit warningThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25Remove unused write_column() functionThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25Remove unused variablesThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24curses: Handle out of memory return value of of vasprintf()fixesThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24proc: Silence warning of unhandled fgets() return valueThomas Graf
Signed-off-by: Thomas Graf <tgraf@suug.ch>