Thomas Graf
1e83e238db
New API token
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 15:49:54 +01:00
Thomas Graf
32e4d7b2a6
coverty: Update token and version
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 15:46:42 +01:00
Thomas Graf
26497a9896
build: Enable coverity scan through travis-ci
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 15:46:42 +01:00
Thomas Graf
a0eea59519
netlink: BUG() if we don't have parent information
...
This would indicate that we hang a TC object to the tree root.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 15:40:58 +01:00
Thomas Graf
f9c714fa15
netlink: Use ifindex of parent TC object when searching leaf qdiscs
...
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-16 15:36:03 +01:00
Thomas Graf
892bdac762
bmon: Mark attr_def_free() and __lookup_element() static
...
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-16 14:10:43 +01:00
Thomas Graf
4488cd03f9
bmon: Properly pass NULL pointers instead of 0
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-12-16 14:09:35 +01:00
Thomas Graf
753a9e09dd
bmon: Remove dead code and make sig_exit() static
...
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-16 14:04:14 +01:00
Thomas Graf
0641291ad5
curses: Pass in proper NULL pointer
...
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-16 14:01:51 +01:00
Thomas Graf
f666ffd0b7
curses: Make float2str static
...
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-12-16 14:00:39 +01:00
Thomas Graf
559e31e62f
Merge pull request #30 from tklauser/ip6-link-stats
...
Add additional IPv6 link stats
2015-11-15 18:09:42 -08:00
Thomas Graf
9a69cb6d59
man: Fix --ouptut typo
...
Reported-by: xiaohuichan@gmail.com
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-08-09 18:05:56 +02:00
Tobias Klauser
665c63d4e7
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>
2015-08-06 15:20:07 +02:00
Thomas Graf
964f48465a
3.8 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-07-25 11:10:41 +02:00
Thomas Graf
e31a860af6
Update copyright
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-07-25 11:05:01 +02:00
Thomas Graf
2027a634a7
netlink: Only disable TC stats if QoS is not available in kernel
...
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-07-25 10:51:47 +02:00
Thomas Graf
30946f2d78
bmon 3.7 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30 12:09:54 +02:00
Thomas Graf
47547eb29f
man: Also mention --use-bit option
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30 12:05:53 +02:00
Thomas Graf
21ec49ed67
format: Don't print error message for unavailable attributes
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30 11:59:48 +02:00
Thomas Graf
29172c819c
Document -b option
...
Reported-by: Ross Patterson
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-06-30 11:50:40 +02:00
Thomas Graf
2ccea2c56e
Merge pull request #25 from Chocobo1/bits
...
Fix wrong unit displayed when using "--use-bit" option
2015-05-31 18:04:27 +02:00
Chocobo1
51a24c315b
Fix wrong unit displayed when using "--use-bit" option
2015-05-31 21:27:52 +08:00
Chocobo1
5cecc86856
Fix inconsistency in format module example
2015-05-31 18:53:35 +08:00
Chocobo1
5e61c5c0e4
man page: add explaination of SI uints
2015-05-31 16:15:51 +08:00
Thomas Graf
4645116a57
Merge pull request #24 from tklauser/cross-compile-fix
...
[v2] Explicitly include linux/if.h to fix cross-compile error
2015-04-30 09:45:18 -07:00
Tobias Klauser
c80554be16
Explicitly include linux/if.h to fix cross-compile error
...
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-30 12:00:35 +02:00
Thomas Graf
2a410be36f
README: Mention that ./autogen.sh must be run after git clone
...
Reported-by: DavidRChristensen
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-04-29 17:30:22 +02:00
Thomas Graf
c1ae292c95
README: Mention ncurses-devel dependency in installation notes
...
Reported-by: DavidRChristensen
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-04-29 17:28:31 +02:00
Thomas Graf
234efb85f6
Merge pull request #20 from Chocobo1/dev
...
assertion failed in libConfuse
2015-04-29 08:25:47 -07:00
Chocobo1
229d58c975
using cfg_setint
is triggering an assertion in confuse library, should use cfg_setbool
instead
2015-01-19 20:02:14 +08:00
Thomas Graf
8fc5a55da4
Merge pull request #19 from halid/master
...
Debian / Ubuntu Installation Procedures
2015-01-08 16:18:53 +01:00
Halid Altuner
3ecdad6f56
Update README.md
...
make and build-essential package
2015-01-08 14:14:02 +02:00
Halid Altuner
511e0196e1
Update README.md
...
debian installation procedures
2015-01-08 14:11:38 +02:00
Thomas Graf
0100916a95
BSD: Provide minimal interface information
...
Including:
- MTU
- Metric
- RX/TX IRQ Quota
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-12-16 18:31:27 +01:00
Thomas Graf
ea065c5619
Provide download link in README.md
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-11-22 13:40:10 +01:00
Thomas Graf
baabc8b729
3.6 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-11-22 13:33:24 +01:00
Thomas Graf
88548ccf96
Merge pull request #18 from gustavoz/master
...
build: uclinux is also linux
2014-11-13 12:13:03 +01:00
Gustavo Zacarias
c4ed01f272
build: uclinux is also linux
2014-11-11 20:37:21 -03:00
Thomas Graf
c1d0bb41c7
Fix LICENSE links in README.md
...
Reported-by: Eric Leblond
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-09-05 09:39:24 +02:00
Thomas Graf
7f8d60f40f
3.5 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-30 13:36:46 +02:00
Thomas Graf
6920af805c
travis: Run make distcheck
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-30 13:32:49 +02:00
Thomas Graf
8b4ce86cc9
Makefile: Fix README.md distribution inclusion
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-30 13:30:30 +02:00
Thomas Graf
17a4adb0f2
build: fail CI builds if a new warning is introduced
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
4492ab547c
build: Enable -Wall
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
a36136ec4d
Annotate unused variables
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
e3d208905d
Initialize t to silence uninit warning
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
68bd14ffd1
Remove unused write_column() function
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
e2df502abc
Remove unused variables
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
Thomas Graf
9d89c5bc8e
curses: Handle out of memory return value of of vasprintf()
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:11:32 +02:00
Thomas Graf
584ef44252
proc: Silence warning of unhandled fgets() return value
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:11:02 +02:00