opnsense-src/tests/sys/netlink
Gleb Smirnoff f2a4eed3e1 netlink: underscore snl_get_genl_family_info() to discourage its use
This function uses already supposedly opaque struct _getfamily_attrs as
the argument and it fills it with pointers to volatile memory, which makes
it is unsafe for general use.  While here also underscore structures that
hang off the struct _getfamily_attrs.

Small programs like powerd(8) and RPC daemons are converted to use
snl_get_genl_mcast_group() and/or snl_get_genl_family().  The genl(1)
utility was fixed not to mix its own parsers with parsers declared in
netlink_snl_generic.h.

Reviewed by:		melifaro
Differential Revision:	https://reviews.freebsd.org/D48480
2025-01-20 12:53:37 -08:00
..
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
netlink_socket.c tests/netlink: improve recently added netlink_socket:membership 2024-01-10 20:51:53 -08:00
test_netlink_message_writer.py netlink: use protocol specific receive buffer 2024-01-02 13:04:01 -08:00
test_nl_core.py tests: split netlink.py into multiple files to impove maintainability. 2023-04-01 19:31:38 +00:00
test_rtnl_iface.py tests/netlink: mark the vlan(4) test with required module 2023-10-18 22:21:53 -07:00
test_rtnl_ifaddr.py netlink: fix failing TestRtNlAddIfaddrLo::test_add_6 tests. 2023-06-13 15:26:44 +00:00
test_rtnl_neigh.py tests: split netlink.py into multiple files to impove maintainability. 2023-04-01 19:31:38 +00:00
test_rtnl_route.py tests/netlink: mark a test that requires tun(4) 2024-01-10 20:51:53 -08:00
test_snl.c netlink: temporary skip snl(3) capped test. 2023-05-09 14:59:41 +00:00
test_snl_generic.c netlink: underscore snl_get_genl_family_info() to discourage its use 2025-01-20 12:53:37 -08:00