diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-04-17 20:31:25 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-18 16:35:54 +0200 |
commit | 28de5698cece520251b966e7e41d256517f97d44 (patch) | |
tree | b73a2ef16695463d87104d4e261df5130aacc94d /ipv4.h | |
parent | f61f39d3972960d795d3d5e5fe6e16179591e2bb (diff) |
flowtop: Change flows layout to 1-row view
Changed flows list layout to look more a top-like output
with header and in 1 line. When -s option is specified
then layout changes to 2 lines view including with src peer
info and dst under it on next line.
Also shortified flow state names to allocate less space.
Removed presenter_get_port be cause ports are printed for both peers
separately.
The flow duration time is printed in very short form in one of the
units:
XXd - days
XXh - hours
XXm - minutes
XXs - seconds
the reason is that it is enough to have actually generic understanding
about flow time in the biggest time unit.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ipv4.h')
0 files changed, 0 insertions, 0 deletions