65231f415a
According to https://cygwin.com/ml/cygwin/2016-03/msg00124.html it's a problem to collect friendlyname info using AF_INET6 sockets. Fix problem by exposing additional hardware info for all collected interfaces via the pointer in the ifaddrs::ifa_data member. * include/ifaddrs.h (struct ifaddrs_hwdata): Define as struct of not yet exposed members of struct ifall, defined in net.cc. * net.cc (struct ifall): Replace hardware dta members with struct ifaddrs_hwdata. Accommodate throughout. (get_ifs): Let ifaddrs ifa_data member point to ifall::ifa_hwdata member. Signed-off-by: Corinna Vinschen <corinna@vinschen.de> |
||
---|---|---|
.. | ||
acl | ||
arpa | ||
asm | ||
attr | ||
bits | ||
cygwin | ||
machine | ||
net | ||
netinet | ||
sys | ||
a.out.h | ||
byteswap.h | ||
dlfcn.h | ||
elf.h | ||
endian.h | ||
err.h | ||
error.h | ||
fcntl.h | ||
features.h | ||
fenv.h | ||
fnmatch.h | ||
fts.h | ||
ftw.h | ||
getopt.h | ||
glob.h | ||
icmp.h | ||
ifaddrs.h | ||
io.h | ||
lastlog.h | ||
limits.h | ||
mapi.h | ||
memory.h | ||
mntent.h | ||
monetary.h | ||
mqueue.h | ||
netdb.h | ||
paths.h | ||
poll.h | ||
process.h | ||
pthread.h | ||
pty.h | ||
regex.h | ||
resolv.h | ||
search.h | ||
semaphore.h | ||
sysexits.h | ||
syslog.h | ||
termio.h | ||
tzfile.h | ||
ucontext.h | ||
utmpx.h | ||
wait.h |