freebsd-src/sbin/route
Alexander V. Chernikov c597432e22 route(8): convert to netlink
This change converts all kernel rtsock interactions in route(8)
 to Netlink.

Based on the WITHOUT_NETLINK_SUPPORT src.conf(5) variable, route(8)
 now fully operates either via Netlink or via rtsock/sysctl.
The default (compile-time) is Netlink.

The output for route delete/add/get/flush is targeted to be exactly
 the same (apart from some error handling cases).
The output for the route monitor has been changed to improve
 readability and support netlink models.

Other behaviour changes:
* exact prefix lookup (route -n get a.b.c.d/e) is not yet supported.
* route monitor does not show the change originator yet.

Differential Revision:	https://reviews.freebsd.org/D39007
2023-03-26 11:06:56 +00:00
..
tests Skip sbin/route tests if jail not installed (WITHOUT_JAIL). 2020-08-04 21:34:13 +00:00
keywords
Makefile route(8): convert to netlink 2023-03-26 11:06:56 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
route.8 route.8: Don't reference an external command in EXAMPLES 2023-03-14 14:55:28 +01:00
route.c route(8): convert to netlink 2023-03-26 11:06:56 +00:00
route_netlink.c route(8): convert to netlink 2023-03-26 11:06:56 +00:00