getifaddrs(3), ifa_data field

2010-01-15 Thread Benjamin Lutz
I noticed that the getifaddrs(3) library function doesn't behave as described in the manpage. The manpage says: The ifa_data field references address family specific data. For AF_LINK addresses it contains a pointer to the struct if_data (as defined in include file ) which con

Re: getifaddrs

2001-01-04 Thread Assar Westerlund
ecureuil <[EMAIL PROTECTED]> writes: > Hi Hello. > I'm trying to get interfaces' list and infos with getifaddrs(). > The ifa_data struct should contain all needed information, but > this is a NULL pointer for IPv4 interfaces. Why ? What you are printing is the l

getifaddrs

2001-01-04 Thread ecureuil
Hi I'm trying to get interfaces' list and infos with getifaddrs(). The ifa_data struct should contain all needed information, but this is a NULL pointer for IPv4 interfaces. Why ? a sample output for my ethernet card : ed0 (6.3.6.0) : UP, AF_INET6 MTU=1500 (struc