Netlink Sockets: Linux Kernel-User communication (PART I)

Ubuntu 14.04, Kernel version 3.11 Netlink sockets provide full duplex, asynchronous, low-overhead communication channel between user-kernel space processes. Other solutions such as ioctl(), sysfs, UDP sockets are either blocking (hence expensive) or slow (UDP has more overhead compared to Netlink) and complex. Netlink can carry data buffers on a return trip from kernel to user … More Netlink Sockets: Linux Kernel-User communication (PART I)