You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Routing sockets are used for the kernel's routing tables to be read and altered (BSD). On the other hand, Netlink is a socket family used for inter-process communication (IPC) between both the kernel and userspace processes, and between different userspace processes. They also provide the functionality to alter the kernel's routing tables; initially designed to be a successor to the ioctl approach.
TL;DR: Routing sockets are specifically made for altering routing tables where as Netlink sockets serves different purposes.
Unresolved Questions
Which one of the API's would be better to implement? Could we improve the existing approach, if so, how?
Netlink sockets would be better to implement, I think it serves more functionality to us. But developer team can modify the features of netlink to provide proper implementation for Aero.
+1 for netlink sockets too partly because I'm not familiar with how BSD routing works (I am only aware about netlink), and because netlink sockets serve extra functionality besides. Besides, FreeBSD seems to support them to, which further highlights their functionality
Routing sockets are used for the kernel's routing tables to be read and altered (BSD). On the other hand, Netlink is a socket family used for inter-process communication (IPC) between both the kernel and userspace processes, and between different userspace processes. They also provide the functionality to alter the kernel's routing tables; initially designed to be a successor to the
ioctl
approach.TL;DR: Routing sockets are specifically made for altering routing tables where as Netlink sockets serves different purposes.
Unresolved Questions
Which one of the API's would be better to implement? Could we improve the existing approach, if so, how?
Sources
The text was updated successfully, but these errors were encountered: