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
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
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
3 matches
Mail list logo