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

ws2def.h File Reference
#include <inaddr.h>

Go to the source code of this file.

Data Structures

struct  LPSOCKADDR
struct  LPSOCKADDR_STORAGE_LH
struct  LPSOCKADDR_STORAGE_XP
struct  SCOPE_ID
struct  PSOCKADDR_IN
struct  LPWSABUF
struct  LPWSAMSG
struct  LPWSACMSGHDR
struct  PADDRINFOA
struct  PADDRINFOW

Defines

#define _WS2DEF_
#define AF_UNSPEC   0
#define AF_UNIX   1
#define AF_INET   2
#define AF_IMPLINK   3
#define AF_PUP   4
#define AF_CHAOS   5
#define AF_NS   6
#define AF_IPX   AF_NS
#define AF_ISO   7
#define AF_OSI   AF_ISO
#define AF_ECMA   8
#define AF_DATAKIT   9
#define AF_CCITT   10
#define AF_SNA   11
#define AF_DECnet   12
#define AF_DLI   13
#define AF_LAT   14
#define AF_HYLINK   15
#define AF_APPLETALK   16
#define AF_NETBIOS   17
#define AF_VOICEVIEW   18
#define AF_FIREFOX   19
#define AF_UNKNOWN1   20
#define AF_BAN   21
#define AF_ATM   22
#define AF_INET6   23
#define AF_CLUSTER   24
#define AF_12844   25
#define AF_IRDA   26
#define AF_NETDES   28
#define AF_MAX   29
#define SOCK_STREAM   1
#define SOCK_DGRAM   2
#define SOCK_RAW   3
#define SOCK_RDM   4
#define SOCK_SEQPACKET   5
#define SOL_SOCKET   0xffff
#define SO_DEBUG   0x0001
#define SO_ACCEPTCONN   0x0002
#define SO_REUSEADDR   0x0004
#define SO_KEEPALIVE   0x0008
#define SO_DONTROUTE   0x0010
#define SO_BROADCAST   0x0020
#define SO_USELOOPBACK   0x0040
#define SO_LINGER   0x0080
#define SO_OOBINLINE   0x0100
#define SO_DONTLINGER   (int)(~SO_LINGER)
#define SO_EXCLUSIVEADDRUSE   ((int)(~SO_REUSEADDR))
#define SO_SNDBUF   0x1001
#define SO_RCVBUF   0x1002
#define SO_SNDLOWAT   0x1003
#define SO_RCVLOWAT   0x1004
#define SO_SNDTIMEO   0x1005
#define SO_RCVTIMEO   0x1006
#define SO_ERROR   0x1007
#define SO_TYPE   0x1008
#define SO_BSP_STATE   0x1009
#define SO_GROUP_ID   0x2001
#define SO_GROUP_PRIORITY   0x2002
#define SO_MAX_MSG_SIZE   0x2003
#define SO_CONDITIONAL_ACCEPT   0x3002
#define SO_PAUSE_ACCEPT   0x3003
#define SO_COMPARTMENT_ID   0x3004
#define WSK_SO_BASE   0x4000
#define TCP_NODELAY   0x0001
#define _SS_MAXSIZE   128
#define _SS_ALIGNSIZE   (sizeof(__int64))
#define _SS_PAD1SIZE   (_SS_ALIGNSIZE - sizeof (short))
#define _SS_PAD2SIZE   (_SS_MAXSIZE - (sizeof (short) + _SS_PAD1SIZE + _SS_ALIGNSIZE))
#define IOC_UNIX   0x00000000
#define IOC_WS2   0x08000000
#define IOC_PROTOCOL   0x10000000
#define IOC_VENDOR   0x18000000
#define _WSAIO(x, y)   (IOC_VOID|(x)|(y))
#define _WSAIOR(x, y)   (IOC_OUT|(x)|(y))
#define _WSAIOW(x, y)   (IOC_IN|(x)|(y))
#define _WSAIORW(x, y)   (IOC_INOUT|(x)|(y))
#define SIO_ASSOCIATE_HANDLE   _WSAIOW(IOC_WS2,1)
#define SIO_ENABLE_CIRCULAR_QUEUEING   _WSAIO(IOC_WS2,2)
#define SIO_FIND_ROUTE   _WSAIOR(IOC_WS2,3)
#define SIO_FLUSH   _WSAIO(IOC_WS2,4)
#define SIO_GET_BROADCAST_ADDRESS   _WSAIOR(IOC_WS2,5)
#define SIO_GET_EXTENSION_FUNCTION_POINTER   _WSAIORW(IOC_WS2,6)
#define SIO_GET_QOS   _WSAIORW(IOC_WS2,7)
#define SIO_GET_GROUP_QOS   _WSAIORW(IOC_WS2,8)
#define SIO_MULTIPOINT_LOOPBACK   _WSAIOW(IOC_WS2,9)
#define SIO_MULTICAST_SCOPE   _WSAIOW(IOC_WS2,10)
#define SIO_SET_QOS   _WSAIOW(IOC_WS2,11)
#define SIO_SET_GROUP_QOS   _WSAIOW(IOC_WS2,12)
#define SIO_TRANSLATE_HANDLE   _WSAIORW(IOC_WS2,13)
#define SIO_ROUTING_INTERFACE_QUERY   _WSAIORW(IOC_WS2,20)
#define SIO_ROUTING_INTERFACE_CHANGE   _WSAIOW(IOC_WS2,21)
#define SIO_ADDRESS_LIST_QUERY   _WSAIOR(IOC_WS2,22)
#define SIO_ADDRESS_LIST_CHANGE   _WSAIO(IOC_WS2,23)
#define SIO_QUERY_TARGET_PNP_HANDLE   _WSAIOR(IOC_WS2,24)
#define IPPROTO_IP   0
#define IPPORT_TCPMUX   1
#define IPPORT_ECHO   7
#define IPPORT_DISCARD   9
#define IPPORT_SYSTAT   11
#define IPPORT_DAYTIME   13
#define IPPORT_NETSTAT   15
#define IPPORT_QOTD   17
#define IPPORT_MSP   18
#define IPPORT_CHARGEN   19
#define IPPORT_FTP_DATA   20
#define IPPORT_FTP   21
#define IPPORT_TELNET   23
#define IPPORT_SMTP   25
#define IPPORT_TIMESERVER   37
#define IPPORT_NAMESERVER   42
#define IPPORT_WHOIS   43
#define IPPORT_MTP   57
#define IPPORT_TFTP   69
#define IPPORT_RJE   77
#define IPPORT_FINGER   79
#define IPPORT_TTYLINK   87
#define IPPORT_SUPDUP   95
#define IPPORT_POP3   110
#define IPPORT_NTP   123
#define IPPORT_EPMAP   135
#define IPPORT_NETBIOS_NS   137
#define IPPORT_NETBIOS_DGM   138
#define IPPORT_NETBIOS_SSN   139
#define IPPORT_IMAP   143
#define IPPORT_SNMP   161
#define IPPORT_SNMP_TRAP   162
#define IPPORT_IMAP3   220
#define IPPORT_LDAP   389
#define IPPORT_HTTPS   443
#define IPPORT_MICROSOFT_DS   445
#define IPPORT_EXECSERVER   512
#define IPPORT_LOGINSERVER   513
#define IPPORT_CMDSERVER   514
#define IPPORT_EFSSERVER   520
#define IPPORT_BIFFUDP   512
#define IPPORT_WHOSERVER   513
#define IPPORT_ROUTESERVER   520
#define IPPORT_RESERVED   1024
#define IN_CLASSA(i)   (((LONG)(i) & 0x80000000) == 0)
#define IN_CLASSA_NET   0xff000000
#define IN_CLASSA_NSHIFT   24
#define IN_CLASSA_HOST   0x00ffffff
#define IN_CLASSA_MAX   128
#define IN_CLASSB(i)   (((LONG)(i) & 0xc0000000) == 0x80000000)
#define IN_CLASSB_NET   0xffff0000
#define IN_CLASSB_NSHIFT   16
#define IN_CLASSB_HOST   0x0000ffff
#define IN_CLASSB_MAX   65536
#define IN_CLASSC(i)   (((LONG)(i) & 0xe0000000) == 0xc0000000)
#define IN_CLASSC_NET   0xffffff00
#define IN_CLASSC_NSHIFT   8
#define IN_CLASSC_HOST   0x000000ff
#define IN_CLASSD(i)   (((long)(i) & 0xf0000000) == 0xe0000000)
#define IN_CLASSD_NET   0xf0000000
#define IN_CLASSD_NSHIFT   28
#define IN_CLASSD_HOST   0x0fffffff
#define IN_MULTICAST(i)   IN_CLASSD(i)
#define INADDR_ANY   (ULONG)0x00000000
#define INADDR_LOOPBACK   0x7f000001
#define INADDR_BROADCAST   (ULONG)0xffffffff
#define INADDR_NONE   0xffffffff
#define SCOPEID_UNSPECIFIED_INIT   {0}
#define IOCPARM_MASK   0x7f
#define IOC_VOID   0x20000000
#define IOC_OUT   0x40000000
#define IOC_IN   0x80000000
#define IOC_INOUT   (IOC_IN|IOC_OUT)
#define _IO(x, y)   (IOC_VOID|((x)<<8)|(y))
#define _IOR(x, y, t)   (IOC_OUT|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y))
#define _IOW(x, y, t)   (IOC_IN|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y))
#define MSG_TRUNC   0x0100
#define MSG_CTRUNC   0x0200
#define MSG_BCAST   0x0400
#define MSG_MCAST   0x0800
#define AI_PASSIVE   0x00000001
#define AI_CANONNAME   0x00000002
#define AI_NUMERICHOST   0x00000004
#define AI_NUMERICSERV   0x00000008
#define AI_ALL   0x00000100
#define AI_ADDRCONFIG   0x00000400
#define AI_V4MAPPED   0x00000800
#define AI_NON_AUTHORITATIVE   0x00004000
#define AI_SECURE   0x00008000
#define AI_RETURN_PREFERRED_NAMES   0x00010000
#define AI_FQDN   0x00020000
#define AI_FILESERVER   0x00040000
#define NS_ALL   0
#define NS_SAP   1
#define NS_NDS   2
#define NS_PEER_BROWSE   3
#define NS_SLP   5
#define NS_DHCP   6
#define NS_TCPIP_LOCAL   10
#define NS_TCPIP_HOSTS   11
#define NS_DNS   12
#define NS_NETBT   13
#define NS_WINS   14
#define NS_NBP   20
#define NS_MS   30
#define NS_STDA   31
#define NS_NTDS   32
#define NS_X500   40
#define NS_NIS   41
#define NS_NISPLUS   42
#define NS_WRQ   50
#define NS_NETDES   60
#define NI_NOFQDN   0x01
#define NI_NUMERICHOST   0x02
#define NI_NAMEREQD   0x04
#define NI_NUMERICSERV   0x08
#define NI_DGRAM   0x10
#define NI_MAXHOST   1025
#define NI_MAXSERV   32
#define WSA_CMSGHDR_ALIGN(length)
#define WSA_CMSGDATA_ALIGN(length)
#define WSA_CMSG_FIRSTHDR(msg)
#define WSA_CMSG_NXTHDR(msg, cmsg)
#define WSA_CMSG_DATA(cmsg)   ((PUCHAR)(cmsg) + WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)))
#define WSA_CMSG_SPACE(length)   (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR) + WSA_CMSGHDR_ALIGN(length)))
#define WSA_CMSG_LEN(length)   (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)) + length)

Typedefs

typedef USHORT ADDRESS_FAMILY
typedef enum IPPROTOPIPROTO
typedef struct SCOPE_IDPSCOPE_ID
typedef struct WSAMSG * PWSAMSG

Enumerations

enum  IPPROTO {
  IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_GGP = 3, IPPROTO_TCP = 6,
  IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_ND = 77,
  IPPROTO_RAW = 255, IPPROTO_MAX = 256, IPPROTO_RESERVED_RAW = 257, IPPROTO_RESERVED_IPSEC = 258,
  IPPROTO_RESERVED_IPSECOFFLOAD = 259, IPPROTO_RESERVED_MAX = 260
}
enum  SCOPE_LEVEL {
  ScopeLevelInterface = 1, ScopeLevelLink = 2, ScopeLevelSubnet = 3, ScopeLevelAdmin = 4,
  ScopeLevelSite = 5, ScopeLevelOrganization = 8, ScopeLevelGlobal = 14, ScopeLevelCount = 16
}

Generated on Fri May 25 2012 05:54:00 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.