diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-06-14 20:02:32 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-06-14 20:02:32 +0400 |
commit | 8e4a60b3838241d85f7517b5410fa4c4079e2fd6 (patch) | |
tree | 44fae29a3ebad4243a5a522db0741559f2488c02 /winsup/cygwin/fhandler_socket.cc | |
parent | 28826d8fb1a9c6d4179f1b1e8fc5e78f5956d26a (diff) |
* autoload.cc (GetIpForwardTable): Define.
* fhandler_socket.cc (fhandler_socket::ioctl): Handle SIOCGIFDSTADDR.
* net.cc (get_routedst): New static function to get destination
address of point-to-point interfaces.
(get_xp_ifconf): Handle SIOCGIFDSTADDR.
(get_2k_ifconf): Ditto.
(get_nt_ifconf): Ditto.
(get_ifconf): Ditto.
* include/asm/socket.h (SIOCGIFDSTADDR): Define.
* include/cygwin/if.h (struct ifreq): Add ifru_dstaddr member.
(ifr_dstaddr): Define.
* include/cygwin/in.h: Cast ipv4 addresses correctly to in_addr_t in
definitions.
Diffstat (limited to 'winsup/cygwin/fhandler_socket.cc')
-rw-r--r-- | winsup/cygwin/fhandler_socket.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_socket.cc b/winsup/cygwin/fhandler_socket.cc index 59ec88e0c..ff46fbe3f 100644 --- a/winsup/cygwin/fhandler_socket.cc +++ b/winsup/cygwin/fhandler_socket.cc @@ -1519,6 +1519,7 @@ fhandler_socket::ioctl (unsigned int cmd, void *p) case SIOCGIFMTU: case SIOCGIFINDEX: case SIOCGIFFRNDLYNAM: + case SIOCGIFDSTADDR: { if (!p) { |