Re: Getting a network interface list from within the kernel

2007-04-13 Thread David Howells
David Miller <[EMAIL PROTECTED]> wrote: > Issue a RTM_GETLINK rtnetlink request, and parse the response. Okay, I've managed to find code that does this. However, RTM_GETLINK does not appear to return any IPv4 addressing information. It does, however, contain the MTU details which is one of the

Re: Getting a network interface list from within the kernel

2007-04-12 Thread David Miller
From: David Howells <[EMAIL PROTECTED]> Date: Thu, 12 Apr 2007 21:51:50 +0100 > What's the best way of doing this, assuming it's possible at all? Issue a RTM_GETLINK rtnetlink request, and parse the response. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a mes