OSDN Git Service

* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
authorcorinna <corinna>
Tue, 16 Jan 2007 12:01:36 +0000 (12:01 +0000)
committercorinna <corinna>
Tue, 16 Jan 2007 12:01:36 +0000 (12:01 +0000)
commita8d26357de112ff79910fc2d3768b56a67fc1b85
tree93c8b8c4ab6d2b4a2b710cc883687a0717f91dfc
parent2a905054d03add44c9f8a7af1ecb476608e0b513
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFINDEX.
* net.cc (get_2k_ifconf): Ditto.
(get_nt_ifconf): Fake SIOCGIFINDEX.
(get_95_ifconf): Ditto.
(get_ifconf): Handle SIOCGIFINDEX.  Fake it for loopback on systems
not supporting IP Helper Lib.
* include/asm/socket.h (SIOCGIFINDEX): Define.
* include/cygwin/if.h (struct ifreq): Add member for interface index.
(ifr_ifindex): Define.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_socket.cc
winsup/cygwin/include/asm/socket.h
winsup/cygwin/include/cygwin/if.h
winsup/cygwin/net.cc