freebsd-dev/sys/netlink/route
Alexander V. Chernikov 1bcd230f95 netlink: add interface notification on link status / flags change.
* Add link-state change notifications by subscribing to ifnet_link_event.
 In the Linux netlink model, link state is reported in 2 places: first is
 the IFLA_OPERSTATE, which stores state per RFC2863.
 The second is an IFF_LOWER_UP interface flag. As many applications rely
 on the latter, reserve 1 bit from if_flags, named as IFF_NETLINK_1.
 This flag is mapped to IFF_LOWER_UP in the netlink headers. This is done
 to avoid making applications think this flag is actually
 supported / presented in non-netlink outputs.
* Add flag change notifications, by hooking into rt_ifmsg().
 In the netlink model, notification should include the bitmask for the
 change flags. Update rt_ifmsg() to include such bitmask.

Differential Revision: https://reviews.freebsd.org/D37597
2022-12-09 11:20:07 +00:00
..
common.h
iface_drivers.c
iface.c netlink: add interface notification on link status / flags change. 2022-12-09 11:20:07 +00:00
ifaddrs.h
interface.h netlink: add interface notification on link status / flags change. 2022-12-09 11:20:07 +00:00
neigh.c netlink: use (void) for function definitions with no arguments 2022-10-27 11:14:00 -04:00
neigh.h
nexthop.c netlink: remove private netlink_var.h header from the non-netlink core files. 2022-11-03 17:04:18 +00:00
nexthop.h
route_var.h netlink: add interface notification on link status / flags change. 2022-12-09 11:20:07 +00:00
route.c netlink: fix non-multipath build 2022-12-02 22:21:00 +00:00
route.h