Get local network interface addresses using only proc?
Get local network interface addresses using only proc? Question: How can I obtain the (IPv4) addresses for all network interfaces using only proc? After some extensive investigation I’ve discovered the following: ifconfig makes use of SIOCGIFADDR, which requires open sockets and advance knowledge of all the interface names. It also isn’t documented in any manual …
Total answers: 10