freebsd-skq/usr.bin/netstat
Wojciech Macek 741afc6233 ip_mroute: refactor bw_meter API
API should work as following:
- periodicaly report Lower-or-EQual bandwidth (LEQ) connections
  over kernel socket, if user application registered for such
  per-flow notifications
- report Grater-or-EQual (GEQ) bandwidth as soon as it reaches
  specified value in configured time window

Custom implementation of callouts was removed. There is no
point of doing calout-wheel here as generic callouts are
doing exactly the same. The performance is not critical
for such reporting, so the biggest concern should be
to have a code which can be easily maintained.

This is ia preparation for locking rework which is highly inefficient.

Approved by:    mw
Sponsored by:   Stormshield
Obtained from:  Semihalf
Differential Revision:  https://reviews.freebsd.org/D30210
2021-05-21 06:43:41 +02:00
..
bpf.c
common.c usr.bin/netstat: use roundup2 when rounding up to power of 2. 2021-05-02 09:30:22 -07:00
common.h Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
if.c
inet6.c icmp6: Count packets dropped due to an invalid hop limit 2020-10-19 17:07:19 +00:00
inet.c netstat: fix typo from 0471a8c734 2021-05-10 20:49:19 +02:00
ipsec.c Refer to AES-CBC as "aes-cbc" rather than "rijndael-cbc" for IPsec. 2020-06-04 22:58:37 +00:00
main.c Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
Makefile Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
mbuf.c
mroute6.c
mroute.c ip_mroute: refactor bw_meter API 2021-05-21 06:43:41 +02:00
netgraph.c
netisr.c
netstat.1 Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
netstat.h Extend netstat to display TCP stack and detailed congestion state 2020-10-09 10:07:41 +00:00
nhgrp.c Introduce scalable route multipath. 2020-10-03 10:47:17 +00:00
nhops.c usr.bin/netstat: use roundup2 when rounding up to power of 2. 2021-05-02 09:30:22 -07:00
nlist_symbols Fix netstat -rs reporting. 2021-03-31 20:59:10 +00:00
pfkey.c
route.c Fix netstat -rs reporting. 2021-03-31 20:59:10 +00:00
sctp.c
unix.c Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00