Programming Interface

The generic socket implementation provides most of the basic functionality required for netlink. Netlink sockets can be opened both from the kernel and from userland. In the first case, netlink_kernel_create is employed, while in the second case, the bind method of netlink_ops is triggered via the standard networking paths. For reasons of space, I do not want to discuss the implementation of the userland protocol handlers in detail, but focus on how connections are initialized from the kernel. The function requires various parameters:

Continue reading here: Netnetlinkafnetlinkc

Was this article helpful?

0 0