opnsense-src/sys/netlink
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
..
route netlink: Fix getting route scope of interface's IPv4 addresses 2025-03-07 12:14:44 +08:00
ktest_netlink_message_writer.c netlink: use protocol specific receive buffer 2024-01-02 13:04:01 -08:00
ktest_netlink_message_writer.h netlink: use size_t through the allocation KPI 2024-12-03 12:04:27 -08:00
netlink.h netlink.h: Align macro declarations with tabs 2024-12-10 21:12:38 +03:00
netlink_bitset.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
netlink_ctl.h netlink: provide genl_unregister_group() 2025-02-05 10:09:06 -08:00
netlink_debug.h netlink: Wrap long lines 2024-07-14 14:29:15 -04:00
netlink_domain.c netlink: refuse a send(2) that is larger than socket buffer 2025-02-28 15:39:15 -08:00
netlink_generic.c netlink: provide genl_unregister_group() 2025-02-05 10:09:06 -08:00
netlink_generic.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_glue.c netlink: don't store an extra pointer to so_cred 2025-02-04 16:54:21 -08:00
netlink_io.c netlink: with debugging log event when a socket is stuck 2025-02-05 10:09:06 -08:00
netlink_linux.h linux: make linux_netlink_p->msg_from_linux be able to fail 2024-03-29 13:35:51 -07:00
netlink_message_parser.c netlink: consistently use unsigned types in the parser 2025-01-29 15:48:55 -08:00
netlink_message_parser.h netlink: consistently use unsigned types in the parser 2025-01-29 15:48:55 -08:00
netlink_message_writer.c netlink: augment group writer with priv(9) argument 2025-01-10 20:55:39 -08:00
netlink_message_writer.h netlink: augment group writer with priv(9) argument 2025-01-10 20:55:39 -08:00
netlink_module.c netlink: initialize VNET context with VNET_SYSINIT() 2025-02-04 16:54:21 -08:00
netlink_route.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
netlink_route.h netlink: dump interface capabilities with other interface data. 2023-06-16 15:33:49 +00:00
netlink_snl.h netlink: provide snl_clone() to create a secondary snl state 2025-01-20 13:15:39 -08:00
netlink_snl_generic.h netlink: fix build 2025-01-20 13:38:02 -08:00
netlink_snl_route.h netlink: Fix C++ compile errors 2024-05-24 22:31:42 -06:00
netlink_snl_route_compat.h spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
netlink_snl_route_parsers.h netlink: Fix C++ compile errors 2024-05-24 22:31:42 -06:00
netlink_sysevent.c netlink: refactor KPI for generic Netlink modules 2025-02-05 10:09:06 -08:00
netlink_sysevent.h nlsysevent: add default command to the events 2023-06-02 14:22:10 +02:00
netlink_var.h netlink: provide genl_unregister_group() 2025-02-05 10:09:06 -08:00