opnsense-src/sys/netlink/route
Zhenlei Huang 057165012b netlink: Fix getting route scope of interface's IPv4 addresses
sin_addr of a `struct sockaddr_in` is stored in network byte order, but
IN_LOOPBACK() and IN_LINKLOCAL() want the host order.

Reviewed by:	melifaro, #network
Fixes:	7e5bf68495 netlink: add netlink support
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D49226

(cherry picked from commit 0e096bb3fcaaf663df372aa4abb986e8d63c6e68)
2025-03-10 18:13:10 +08: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: Fix getting route scope of interface's IPv4 addresses 2025-03-10 18:13:10 +08: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: fix potential llentry lock leak in newneigh handler 2023-11-01 10:05:49 +01:00
neigh.h netlink(4): Fix a typo in a source code comment 2024-01-25 07:42:56 +01: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 netlink: fix route protocol constant values to match Linux 2024-03-18 09:14:45 -07: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: restore the ability to delete PINNED routes 2025-01-21 14:37:26 +03:00