opnsense-src/sys/netlink/route
Kristof Provost ff15498894 netlink: move NETLINK define to opt_global.h
Move the NETLINK define into opt_global.h so we can rely on it being
set correctly, without having to remember to include opt_netlink.h.
This ensures that the NETLINK define is correctly set. If not we
may end up with unloadable modules, due to missing symbols (such as
nlmsg_get_group_writer).

PR:		274306
Reviewed by:	imp, markj
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D42179

(cherry picked from commit ab393e9548f8cc0ee28499c411963b798ebb38a5)
2023-10-16 09:42:33 +02:00
..
common.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
iface.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
iface_drivers.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
ifaddrs.h netlink: add support for adding/deleting interface addresses 2023-05-16 19:39:13 +00:00
interface.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
neigh.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
neigh.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
nexthop.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00
nexthop.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
route.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
route_var.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
rt.c netlink: move NETLINK define to opt_global.h 2023-10-16 09:42:33 +02:00