I'm trying to use netlink in FreeBSD (
I've found example code in snl(3) and am able to reproduce it. I also managed to send a generic query over a netlink socket to obtain a list of families and so far seem to have obtained the
/usr/src/tests/sys/netlink/test_snl_generic.c.
Searching the web for netlink information and examples for FreeBSD gave me limited information. I'm looking for:
FreeBSD 14.3-RELEASE-p7) but have some difficulty making progress. I'm in doubt if it is a skill issue on my part or a limitation in the feature set of FreeBSD.I've found example code in snl(3) and am able to reproduce it. I also managed to send a generic query over a netlink socket to obtain a list of families and so far seem to have obtained the
nlcrtl family and something with notify - of which I'm a bit unclear what it is supposed to be. This seems to be similar to what is tested in /usr/src/tests/sys/netlink/test_snl_generic.c.
Searching the web for netlink information and examples for FreeBSD gave me limited information. I'm looking for:
- Information about netlink families/modules supported in FreeBSD.
- Examples and/or source code using the FreeBSD netlink implementation.
- More specifically examples and/or source code of netlink usage on FreeBSD that reads and updates the state of 802.11 wifi properties (which may or may not be available on FreeBSD).