Changeset 21456
- Timestamp:
- Sep 23, 2010, 10:09:19 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
- 1 moved
-
include/win/winsock.h (modified) (2 diffs)
-
include/win/winsock2.h (modified) (2 diffs)
-
include/win/ws2tcpip.h (added)
-
include/ws2defs.h (moved) (moved from trunk/include/ws2tcpip.h ) (4 diffs)
-
src/ws2_32/socketodin.cpp (modified) (1 diff)
-
src/wsock32/wsock32.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winsock.h
r21417 r21456 233 233 typedef WSADATA *LPWSADATA; 234 234 235 #ifndef __WINSOCK2API__ 235 236 #define IP_OPTIONS 1 236 237 #define IP_MULTICAST_IF 2 … … 242 243 #define IP_TOS 8 243 244 #define IP_DONTFRAGMENT 9 244 245 #endif 245 246 246 247 #define IP_DEFAULT_MULTICAST_TTL 1 -
trunk/include/win/winsock2.h
r21420 r21456 8 8 #define __WINSOCK2API__ 9 9 10 #include "winsock.h"10 #include <winsock.h> 11 11 12 12 /* proper 4-byte packing */ 13 #include "pshpack4.h"13 #include <pshpack4.h> 14 14 15 15 #define SO_GROUP_ID 0x2001 … … 372 372 extern INT WINAPI ioctlsocket(SOCKET s, LONG cmd, ULONG *argp); 373 373 374 #include "poppack.h"374 #include <poppack.h> 375 375 376 376 #endif -
trunk/include/ws2defs.h
r21446 r21456 1 #ifndef _WS2 TCPIPODIN_H_2 #define _WS2 TCPIPODIN_H_1 #ifndef _WS2DEFS_H_ 2 #define _WS2DEFS_H_ 3 3 4 4 #define WS2_IPPROTO_OFFSET 100 … … 6 6 #define WS2_IPPROTO_OPT(a) (a+WS2_IPPROTO_OFFSET) 7 7 8 /* These match the WinSock 2 constants */ 8 9 #define IP_OPTIONS_WS2 1 /* set/get IP options */ 9 10 #define IP_HDRINCL_WS2 2 /* header is included with data */ … … 17 18 #define IP_DONTFRAGMENT_WS2 14 /* don't fragment IP datagrams */ 18 19 20 /* These match the OS/2 constants */ 19 21 #define IP_OPTIONS_OS2 1 /* buf/ip_opts; set/get IP options */ 20 22 #define IP_MULTICAST_IF_OS2 2 /* u_char; set/get IP multicast i/f */ … … 34 36 #define SO_REUSEPORT_OS2 0x1000 /* allow local address & port reuse */ 35 37 36 #endif /* _WS2 TCPIP_H_ */38 #endif /* _WS2DEFS_H_ */ 37 39 38 40 -
trunk/src/ws2_32/socketodin.cpp
r8828 r21456 1 1 /* $Id: socketodin.cpp,v 1.3 2002-07-03 09:47:37 sandervl Exp $ */ 2 2 3 #include <odin.h>4 #include <winsock2.h>5 #include <ws2tcpip.h>6 #include <debugtools.h>7 #include <misc.h>3 #include "odin.h" 4 #include "winsock2.h" 5 #include "ws2defs.h" 6 #include "debugtools.h" 7 #include "misc.h" 8 8 9 9 ODINDEBUGCHANNEL(WS2_32-SOCKETODIN) -
trunk/src/wsock32/wsock32.cpp
r21308 r21456 62 62 63 63 #include "wsock32.h" 64 #include <ws2tcpip.h>64 #include "ws2defs.h" 65 65 #include "wsastruct.h" 66 66 #include "asyncthread.h"
Note:
See TracChangeset
for help on using the changeset viewer.
