Netlink is the wrong way to do anything. It is a kernel interface designed in the image of a network. However the kernel is not a network node. The kernel supports a nice simple and generic model of file methods, from which any desired stream interface to the kernel may be derived in a straightforward efficient way that does not bring along the addressing baggage of netlink. Please just don't spam the kernel with new uses of netlink. Ever.