Sample application for Loopback network driver

For the loopback driver provided in the previous article, we write a simple RAW socket program to send a packet directly to the virtual network driver. The code is provided below for reference. The above code is pretty much self explanatory. However, a short description is provided below The loopback driver load and application output […]

Understanding GENERIC_NETLINK interface

The number of netlink families are 32. The netlink families which are presently available as of Kernel 6.13.2 are provided in the article here (Netlink Protocol Families). The number of protocol families were seen to be limited and needed a mechanism that would allow different independently defined Netlink families to be defined. To address this […]