opnsense-src/sys/netlink/route
Zhenlei Huang 0e096bb3fc 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
2025-03-07 12:14:44 +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-07 12:14:44 +08:00
iface_drivers.c netlink: move NETLINK define to opt_global.h 2023-10-13 09:23:47 +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: augment group writer with priv(9) argument 2025-01-10 20:55:39 -08:00
neigh.h netlink(4): Fix a typo in a source code comment 2024-01-22 21:52:16 +01:00
nexthop.c netlink: augment group writer with priv(9) argument 2025-01-10 20:55:39 -08: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/route: reformat comment to fit 80 chars 2024-06-20 16:10:39 -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/route: validate family attribute 2025-01-29 15:48:55 -08:00