ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

wshtcpip.h
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:   See COPYING in the top level directory
00003  * PROJECT:     ReactOS WinSock Helper DLL for TCP/IP
00004  * FILE:        include/wshtcpip.h
00005  * PURPOSE:     WinSock Helper DLL for TCP/IP header
00006  */
00007 #ifndef __WSHTCPIP_H
00008 #define __WSHTCPIP_H
00009 
00010 #define WIN32_NO_STATUS
00011 #include <wsahelp.h>
00012 #include <tdiinfo.h>
00013 #include <tcpioctl.h>
00014 #include <tdilib.h>
00015 #include <ws2tcpip.h>
00016 #include <rtlfuncs.h>
00017 
00018 #define EXPORT WINAPI
00019 
00020 #define DD_TCP_DEVICE_NAME      L"\\Device\\Tcp"
00021 #define DD_UDP_DEVICE_NAME      L"\\Device\\Udp"
00022 #define DD_RAW_IP_DEVICE_NAME   L"\\Device\\RawIp"
00023 
00024 typedef enum _SOCKET_STATE {
00025     SocketStateCreated,
00026     SocketStateBound,
00027     SocketStateListening,
00028     SocketStateConnected
00029 } SOCKET_STATE, *PSOCKET_STATE;
00030 
00031 typedef struct _QUEUED_REQUEST {
00032     PTCP_REQUEST_SET_INFORMATION_EX Info;
00033     PVOID Next;
00034 } QUEUED_REQUEST, *PQUEUED_REQUEST;
00035 
00036 typedef struct _SOCKET_CONTEXT {
00037     INT AddressFamily;
00038     INT SocketType;
00039     INT Protocol;
00040     DWORD Flags;
00041     DWORD AddrFileEntityType;
00042     DWORD AddrFileInstance;
00043     SOCKET_STATE SocketState;
00044     PQUEUED_REQUEST RequestQueue;
00045 } SOCKET_CONTEXT, *PSOCKET_CONTEXT;
00046 
00047 #endif /* __WSHTCPIP_H */
00048 
00049 /* EOF */

Generated on Sun May 27 2012 04:27:11 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.