5 ms·
Are there not better C APIs to call that `ip` et al are wrapping?
Are there not better C APIs to call that `ip` et al are wrapping?
Yes, rtnerlink is used to configure networking via a netlink socket, and libnetlink provides an abstraction over sending raw datagrams.
Yeah, netlink
They are low-level APIs, so strictly worse for the purpouse.