summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1998-10-21 22:17:32 +0000
committerSteve Huston <shuston@riverace.com>1998-10-21 22:17:32 +0000
commit938354fb38e750496b39a4fbdf5da3433e729067 (patch)
tree8678c938d7f3e96f97a413bc5218de31bbf3fc4f
parentb499a85676304cd8b46c535fc958f809b7a72eb5 (diff)
downloadATCD-938354fb38e750496b39a4fbdf5da3433e729067.tar.gz
Added def for LPINTERFACE_INFO and value for SIO_GET_INTERFACE_LIST - pulled
these things from the ws2tcpip.h that comes with MSVC 5.
-rw-r--r--ace/ws2tcpip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/ws2tcpip.h b/ace/ws2tcpip.h
index 796047f77c7..ce1f1b8bfb8 100644
--- a/ace/ws2tcpip.h
+++ b/ace/ws2tcpip.h
@@ -1,4 +1,6 @@
/*
+** $Id$
+**
** WS2TCPIP.H - WinSock2 Extension for TCP/IP protocols
**
** This file contains TCP/IP specific information for use
@@ -24,7 +26,7 @@ typedef struct _INTERFACE_INFO
struct sockaddr iiAddress; /* Interface address */
struct sockaddr iiBroadcastAddress; /* Broadcast address */
struct sockaddr iiNetmask; /* Network mask */
-} INTERFACE_INFO;
+} INTERFACE_INFO, FAR * LPINTERFACE_INFO;
/* Possible flags for the iiFlags - bitmask */
@@ -44,7 +46,7 @@ struct ip_mreq {
/* TCP/IP specific Ioctl codes */
-#define SIO_GET_INTERFACE_LIST <TBD>
+#define SIO_GET_INTERFACE_LIST _IOR('t', 127, u_long) // <TBD>
/* Option to use with [gs]etsockopt at the IPPROTO_IP level */