freebsd-dev/sys/netlink/route
Alexander V. Chernikov 089104e0e0 netlink: add netlink interfaces to if_clone
This change adds netlink create/modify/dump interfaces to the `if_clone.c`.
The previous attempt with storing the logic inside `netlink/route/iface_drivers.c`
 did not quite work, as, for example, dumping interface-specific state
 (like vlan id or vlan parent) required some peeking into the private interfaces.

The new interfaces are added in a compatible way - callers don't have to do anything
unless they are extended with Netlink.

Reviewed by:	kp
Differential Revision: https://reviews.freebsd.org/D39032
MFC after:	1 month
2023-04-25 12:34:46 +00:00
..
common.h netlink: add userland name mappings to all NETLINK_ROUTE messages. 2023-03-01 15:24:45 +00:00
iface_drivers.c netlink: add netlink interfaces to if_clone 2023-04-25 12:34:46 +00:00
iface.c netlink: add netlink interfaces to if_clone 2023-04-25 12:34:46 +00:00
ifaddrs.h netlink: improve RTM_GETADDR handling. 2023-01-08 15:06:34 +00:00
interface.h netlink: sync interface IFLA attributes 2023-04-18 12:34:05 +00:00
neigh.c netlink: require proper privileges when adding neighbor. 2023-04-25 12:28:22 +00:00
neigh.h netlink: allow creation of temporary lle entries. 2023-04-25 11:08:47 +00:00
nexthop.c netlink: add support for dumping kernel nexthops. 2023-04-25 11:12:18 +00:00
nexthop.h netlink: add support for dumping kernel nexthops. 2023-04-25 11:12:18 +00:00
route_var.h netlink: add netlink interfaces to if_clone 2023-04-25 12:34:46 +00:00
route.h netlink: allow path weight manipulations for single-path routes. 2023-01-29 16:04:10 +00:00
rt.c netlink: fix operations with link-local routes/gateways. 2023-04-17 12:04:43 +00:00