rtnetlink
Rtnetlink, short for routing netlink, is a netlink-based interface provided by the Linux kernel for configuring networking state. It enables communication between user-space programs and the kernel to query and modify routing tables, interfaces, addresses, and related networking parameters.
The rtnetlink interface uses the NETLINK_ROUTE family to carry messages between kernel space and user space.
Common message types cover a range of tasks. For example, RTM_NEWLINK, RTM_DELLINK, and RTM_GETLINK manage network
In user space, the iproute2 suite (the ip command and related tools) is the primary user of
Security and access control are important considerations. Access to rtnetlink sockets typically requires appropriate privileges (for