[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Pulling IP address from server.
On Mon, 2009-07-27 at 12:29 -0400, Brandon Checketts wrote:
>
> I looked through the output of 'strace ifconifg' to see where
> ifconfig
> is getting it from, and it looks like it may come from
> /proc/net/if_inet6 or /proc/net/dev or possibly /proc/net/unix.
No.
If config gets a list of interfaces from /proc/net/dev.
It then gets information for each interface from the kernel. Netmask,
IP, etc. Using ioctl()