This site contains examples for the Netlink and GeNetlink Sockets. We provide both kernel and user-space source code for reference. Specifically, the user-space examples are based on libmnl library.
This is free software released under the terms of the GPLv2+.