Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Netlink is a
socket-like mechanism for IPC between the kernel and user space
processes, as well as between user space processes alone or a mixture of
multiple user space and kernel space processes. However, unlike INET
sockets, it cannot traverse host boundaries, as it addresses processes
by their PIDs. Netlink was designed for and is used to transfer
miscellaneous networking information between the Linux kernel space and
user space processes. Many networking utilities use Netlink to
communicate with the Linux kernel from user space, for example iproute2.
Netlink consists of a standard socket-based interface for user space
processes and an internal kernel API for kernel modules. It is designed
to be a more flexible successor to ioctl. Originally, Netlink uses the
AF_NETLINK socket family.