❦  8 janvier 2017 23:14 +0700, Alexey Salmin <alexey.sal...@gmail.com> :

> I realize that net-tools version is long gone, but what about the GNU
> inetutils one? It's supported and is not Linux-specific. Maybe a new
> default implementation of ifconfig should be provided rather than
> simply discarding one from a basic install. Another question is
> whether you absolutely have to switch to netlink to have a reasonable
> ifconfig implementation or ioctl is still acceptable (I don't know).

The information you can gather from ioctl and files are incomplete. You
need to use netlink. Moreover, netlink is far more efficient (compare
"netstat -an" and "ss -an").
-- 
You tread upon my patience.
                -- William Shakespeare, "Henry IV"

Attachment: signature.asc
Description: PGP signature

Reply via email to