This project provides the building blocks for linux netlink. Please see RFC359 and netlink(7)-manpage.
My motivation for creating this library was that I could not find one that had the following properties:
unsafe
package and the deprecated syscall
package.The netlink
package provides some serializers, constructors and other parsers for handling netlink messages.
The sock_diag
package has serializers and request constructors for the netlink family, NETLINK_SOCK_DIAG
. Please see sock_diag.
In the playground directory, you can find different examples on how these packages are used.