diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2001-02-07 22:50:50 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2001-02-07 22:50:50 +0000 |
commit | 9182099c105321c24a12b53183f92cc58f4e0580 (patch) | |
tree | ec80e1de7965359155d6ff7c68d4d5450e1641a0 /winsup/cygwin/signal.cc | |
parent | 93ac44870753d7b4650d2575ae5d68bd0432f59e (diff) | |
download | cygnal-9182099c105321c24a12b53183f92cc58f4e0580.tar.gz cygnal-9182099c105321c24a12b53183f92cc58f4e0580.tar.bz2 cygnal-9182099c105321c24a12b53183f92cc58f4e0580.zip |
* autoload.cc: Add LoadDLLinitfunc for iphlpapi.dll.
Add LoadDLLfuncEx statements for GetIfTable@12 and GetIpAddrTable@12.
* fhandler_socket.cc (fhandler_socket::ioctl): Move variable
definitions to the beginning of the function to allow better debugging.
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
* net.cc: Include iphlpapi.h.
(get_2k_ifconf): Rewritten. Uses IP Helper API now.
(get_nt_ifconf): Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC
and SIOCGIFMTU.
(get_95_ifconf): Ditto. Renamed from `get_9x_ifconf'.
(get_ifconf): Name loopback `lo' instead of `lo0' as in Linux.
Add handling for SIOCGIFHWADDR, SIOCGIFMETRIC and SIOCGIFMTU.
Call `get_95_ifconf' only on Windows 95, `get_nt_ifconf' only
on Windows NT < Service Pack 3, `get_2k_ifconf otherwise.
* include/asm/socket.h: Add defines for SIOCGIFHWADDR, SIOCGIFMETRIC
and SIOCGIFMTU.
* include/cygwin/if.h: Add `ifr_hwaddr', `ifr_metric' and `ifr_mtu'.
(struct ifreq): Add `ifru_hwaddr'.
Diffstat (limited to 'winsup/cygwin/signal.cc')
0 files changed, 0 insertions, 0 deletions