Changeset 21409 for trunk/include
- Timestamp:
- Aug 10, 2010, 7:31:37 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winsock2.h
r8372 r21409 4 4 * FIXME: Still missing required Winsock 2 definitions. 5 5 */ 6 6 7 7 #ifndef __WINSOCK2API__ 8 8 #define __WINSOCK2API__ … … 91 91 92 92 /* Unfortunately the sockaddr_in6 structure doesn't 93 seem to be defined in a standard place, even across 93 seem to be defined in a standard place, even across 94 94 different Linux distributions. Until IPv6 support settles 95 down, let's do our own here so the sockaddr_gen 95 down, let's do our own here so the sockaddr_gen 96 96 union is the correct size.*/ 97 97 #ifdef s6_addr … … 184 184 } INTERFACE_INFO, * LPINTERFACE_INFO; 185 185 186 /* Possible flags for the iiFlags - bitmask */ 186 /* Possible flags for the iiFlags - bitmask */ 187 187 #ifndef HAVE_NET_IF_H 188 188 # define IFF_UP 0x00000001 /* Interface is up */ … … 201 201 #define LAYERED_PROTOCOL 0 202 202 203 typedef struct _WSAPROTOCOLCHAIN 203 typedef struct _WSAPROTOCOLCHAIN 204 204 { 205 205 int ChainLen; /* the length of the chain, */ … … 211 211 #define WSAPROTOCOL_LEN 255 212 212 213 typedef struct _WSAPROTOCOL_INFOA 213 typedef struct _WSAPROTOCOL_INFOA 214 214 { 215 215 DWORD dwServiceFlags1; … … 259 259 } WSAPROTOCOL_INFOW, * LPWSAPROTOCOL_INFOW; 260 260 261 typedef struct _WSANETWORKEVENTS 261 typedef struct _WSANETWORKEVENTS 262 262 { 263 263 long lNetworkEvents; … … 265 265 } WSANETWORKEVENTS, *LPWSANETWORKEVENTS; 266 266 267 typedef struct _WSABUF 267 typedef struct _WSABUF 268 268 { 269 269 ULONG len; … … 273 273 typedef struct _OVERLAPPED * LPWSAOVERLAPPED; 274 274 typedef HANDLE WSAEVENT; 275 typedef unsigned int GROUP;276 275 277 276 #define WSA_IO_PENDING (ERROR_IO_PENDING) … … 314 313 FLOWSPEC SendingFlowspec; 315 314 FLOWSPEC ReceivingFlowspec; 316 WSABUF ProviderSpecific; 315 WSABUF ProviderSpecific; 317 316 } QOS, *LPQOS; 318 317
Note:
See TracChangeset
for help on using the changeset viewer.