freebsd-dev/sys/netlink/route
Alexander V. Chernikov 5dd48f7184 netlink: use ifmedia to provide vlan interface operstate.
Netlink customers rely on admin and operational state when
 working with interfaces. The current implementation retuns
 "unknown" operstate for all interface types except IFT_ETHER
 and IFT_LOOP.

This change updates the code to fetch vlan operstate in the same way
 as for the ether interfaces. For the rest of the interface types,
 operstate is now mapped to the admin state.

Reported by:	Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>
MFC after:	3 days
2023-02-15 20:22:47 +00:00
..
common.h
iface_drivers.c netlink: return optional metadata with the operation result. 2023-02-09 15:30:00 +00:00
iface.c netlink: use ifmedia to provide vlan interface operstate. 2023-02-15 20:22:47 +00:00
ifaddrs.h netlink: improve RTM_GETADDR handling. 2023-01-08 15:06:34 +00:00
interface.h netlink: improve interface handling 2022-12-14 19:52:35 +00:00
neigh.c netlink: do not require elevated privileges when reading arp/ndp state. 2023-02-09 14:12:33 +00:00
neigh.h
nexthop.c netlink: Use NET_EPOCH_[CALL|WAIT] macros 2022-12-21 09:40:05 +08:00
nexthop.h
route_var.h netlink: improve interface handling 2022-12-14 19:52:35 +00:00
route.h netlink: allow path weight manipulations for single-path routes. 2023-01-29 16:04:10 +00:00
rt.c netlink: allow path weight manipulations for single-path routes. 2023-01-29 16:04:10 +00:00