Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2007-06-14 20:02:32 +0400
committerCorinna Vinschen <corinna@vinschen.de>2007-06-14 20:02:32 +0400
commit8e4a60b3838241d85f7517b5410fa4c4079e2fd6 (patch)
tree44fae29a3ebad4243a5a522db0741559f2488c02 /winsup/cygwin/include/asm
parent28826d8fb1a9c6d4179f1b1e8fc5e78f5956d26a (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/include/asm')
-rw-r--r--winsup/cygwin/include/asm/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/include/asm/socket.h b/winsup/cygwin/include/asm/socket.h
index f8e93cc81..e4cec1fd6 100644
--- a/winsup/cygwin/include/asm/socket.h
+++ b/winsup/cygwin/include/asm/socket.h
@@ -44,6 +44,7 @@ details. */
#define SIOCGIFINDEX _IOW('s', 108, struct ifreq) /* get if index */
#define SIOGIFINDEX SIOCGIFINDEX /* backward compatibility w/ Linux typo. */
#define SIOCGIFFRNDLYNAM _IOW('s', 109, struct ifreq) /* get friendly if name */
+#define SIOCGIFDSTADDR _IOW('s', 110, struct ifreq) /* Get if dstaddr */
#define SOL_SOCKET 0xffff /* options for socket level */