freebsd-dev/usr.bin/netstat
Alexander V. Chernikov 15dbf5a241 netstat: export weight for single-path routes.
* Parse and export newly-added NL_RTA_WEIGHT attribute, providing path
 weight for a non-multipath route. This fixes a number of tests in
 sys/net/routing which rely on this data.
* Remove handling of NL_RTA_KNH_ID in multipath routes, as it is
 not provided.
* Improve kernel/user nexthop index export. As a result,
 for multipath routes:
  * nhg-kidx attribute represents kernel nhg index (always provided)
  * nhg-uidx attribute represents user-provided nhg index (if set)
 for non-multipath routes:
  * nhop-kidx attribute represents kernel nhop index (always provided)
  * nhop-udx attribute represents user-provided nexthop index (if set)
2023-01-29 16:27:31 +00:00
..
bpf.c
common.c
common.h netstat: export weight for single-path routes. 2023-01-29 16:27:31 +00:00
if.c
inet6.c
inet.c
ipsec.c
main.c
Makefile netstat: make netstat -rn use netlink instead of rtsock 2023-01-27 15:36:10 +00:00
Makefile.depend
Makefile.depend.options
mbuf.c
mroute6.c
mroute.c
netgraph.c
netisr.c
netstat.1
netstat.h
nhgrp.c
nhops.c
nlist_symbols
pfkey.c
route_netlink.c netstat: export weight for single-path routes. 2023-01-29 16:27:31 +00:00
route.c netstat: export weight for single-path routes. 2023-01-29 16:27:31 +00:00
sctp.c
unix.c