ReactOS 0.4.15-dev-7788-g1ad9096
ws2def.h File Reference
#include <inaddr.h>
Include dependency graph for ws2def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sockaddr
 
struct  _SOCKET_ADDRESS
 
struct  _SOCKET_ADDRESS_LIST
 
struct  _CSADDR_INFO
 
struct  sockaddr_storage
 
struct  sockaddr_storage_xp
 
struct  SCOPE_ID
 
struct  sockaddr_in
 
struct  _WSABUF
 
struct  _WSAMSG
 
struct  _WSACMSGHDR
 
struct  addrinfo
 
struct  addrinfoW
 

Macros

#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 AI_DISABLE_IDN_ENCODING   0x00080000
 
#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 __CSADDR_DEFINED__
 
#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 struct sockaddr SOCKADDR
 
typedef struct sockaddrPSOCKADDR
 
typedef struct sockaddrLPSOCKADDR
 
typedef struct _SOCKET_ADDRESS SOCKET_ADDRESS
 
typedef struct _SOCKET_ADDRESSPSOCKET_ADDRESS
 
typedef struct _SOCKET_ADDRESSLPSOCKET_ADDRESS
 
typedef struct _SOCKET_ADDRESS_LIST SOCKET_ADDRESS_LIST
 
typedef struct _SOCKET_ADDRESS_LISTPSOCKET_ADDRESS_LIST
 
typedef struct _SOCKET_ADDRESS_LISTLPSOCKET_ADDRESS_LIST
 
typedef struct _CSADDR_INFO CSADDR_INFO
 
typedef struct _CSADDR_INFOPCSADDR_INFO
 
typedef struct _CSADDR_INFOLPCSADDR_INFO
 
typedef struct sockaddr_storage SOCKADDR_STORAGE_LH
 
typedef struct sockaddr_storagePSOCKADDR_STORAGE_LH
 
typedef struct sockaddr_storageLPSOCKADDR_STORAGE_LH
 
typedef struct sockaddr_storage_xp SOCKADDR_STORAGE_XP
 
typedef struct sockaddr_storage_xpPSOCKADDR_STORAGE_XP
 
typedef struct sockaddr_storage_xpLPSOCKADDR_STORAGE_XP
 
typedef enum IPPROTOPIPROTO
 
typedef struct SCOPE_IDPSCOPE_ID
 
typedef struct sockaddr_in SOCKADDR_IN
 
typedef struct sockaddr_inPSOCKADDR_IN
 
typedef struct _WSABUF WSABUF
 
typedef struct _WSABUFLPWSABUF
 
typedef struct _WSAMSG WSAMSG
 
typedef struct _WSAMSGPWSAMSG
 
typedef struct _WSAMSG LPWSAMSG
 
typedef struct _WSACMSGHDR WSACMSGHDR
 
typedef struct _WSACMSGHDRPWSACMSGHDR
 
typedef struct _WSACMSGHDRLPWSACMSGHDR
 
typedef struct addrinfo ADDRINFOA
 
typedef struct addrinfoPADDRINFOA
 
typedef struct addrinfoW ADDRINFOW
 
typedef struct addrinfoWPADDRINFOW
 

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
}
 

Macro Definition Documentation

◆ __CSADDR_DEFINED__

#define __CSADDR_DEFINED__

Definition at line 372 of file ws2def.h.

◆ _IO

#define _IO (   x,
  y 
)    (IOC_VOID|((x)<<8)|(y))

Definition at line 284 of file ws2def.h.

◆ _IOR

#define _IOR (   x,
  y,
  t 
)    (IOC_OUT|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y))

Definition at line 285 of file ws2def.h.

◆ _IOW

#define _IOW (   x,
  y,
  t 
)    (IOC_IN|(((long)sizeof(t)&IOCPARM_MASK)<<16)|((x)<<8)|(y))

Definition at line 286 of file ws2def.h.

◆ _SS_ALIGNSIZE

#define _SS_ALIGNSIZE   (sizeof(__int64))

Definition at line 134 of file ws2def.h.

◆ _SS_MAXSIZE

#define _SS_MAXSIZE   128

Definition at line 133 of file ws2def.h.

◆ _SS_PAD1SIZE

#define _SS_PAD1SIZE   (_SS_ALIGNSIZE - sizeof (short))

Definition at line 143 of file ws2def.h.

◆ _SS_PAD2SIZE

#define _SS_PAD2SIZE   (_SS_MAXSIZE - (sizeof (short) + _SS_PAD1SIZE + _SS_ALIGNSIZE))

Definition at line 144 of file ws2def.h.

◆ _WS2DEF_

#define _WS2DEF_

Definition at line 3 of file ws2def.h.

◆ _WSAIO

#define _WSAIO (   x,
  y 
)    (IOC_VOID|(x)|(y))

Definition at line 157 of file ws2def.h.

◆ _WSAIOR

#define _WSAIOR (   x,
  y 
)    (IOC_OUT|(x)|(y))

Definition at line 158 of file ws2def.h.

◆ _WSAIORW

#define _WSAIORW (   x,
  y 
)    (IOC_INOUT|(x)|(y))

Definition at line 160 of file ws2def.h.

◆ _WSAIOW

#define _WSAIOW (   x,
  y 
)    (IOC_IN|(x)|(y))

Definition at line 159 of file ws2def.h.

◆ AF_12844

#define AF_12844   25

Definition at line 54 of file ws2def.h.

◆ AF_APPLETALK

#define AF_APPLETALK   16

Definition at line 45 of file ws2def.h.

◆ AF_ATM

#define AF_ATM   22

Definition at line 51 of file ws2def.h.

◆ AF_BAN

#define AF_BAN   21

Definition at line 50 of file ws2def.h.

◆ AF_CCITT

#define AF_CCITT   10

Definition at line 39 of file ws2def.h.

◆ AF_CHAOS

#define AF_CHAOS   5

Definition at line 32 of file ws2def.h.

◆ AF_CLUSTER

#define AF_CLUSTER   24

Definition at line 53 of file ws2def.h.

◆ AF_DATAKIT

#define AF_DATAKIT   9

Definition at line 38 of file ws2def.h.

◆ AF_DECnet

#define AF_DECnet   12

Definition at line 41 of file ws2def.h.

◆ AF_DLI

#define AF_DLI   13

Definition at line 42 of file ws2def.h.

◆ AF_ECMA

#define AF_ECMA   8

Definition at line 37 of file ws2def.h.

◆ AF_FIREFOX

#define AF_FIREFOX   19

Definition at line 48 of file ws2def.h.

◆ AF_HYLINK

#define AF_HYLINK   15

Definition at line 44 of file ws2def.h.

◆ AF_IMPLINK

#define AF_IMPLINK   3

Definition at line 30 of file ws2def.h.

◆ AF_INET

#define AF_INET   2

Definition at line 29 of file ws2def.h.

◆ AF_INET6

#define AF_INET6   23

Definition at line 52 of file ws2def.h.

◆ AF_IPX

#define AF_IPX   AF_NS

Definition at line 34 of file ws2def.h.

◆ AF_IRDA

#define AF_IRDA   26

Definition at line 55 of file ws2def.h.

◆ AF_ISO

#define AF_ISO   7

Definition at line 35 of file ws2def.h.

◆ AF_LAT

#define AF_LAT   14

Definition at line 43 of file ws2def.h.

◆ AF_MAX

#define AF_MAX   29

Definition at line 60 of file ws2def.h.

◆ AF_NETBIOS

#define AF_NETBIOS   17

Definition at line 46 of file ws2def.h.

◆ AF_NETDES

#define AF_NETDES   28

Definition at line 56 of file ws2def.h.

◆ AF_NS

#define AF_NS   6

Definition at line 33 of file ws2def.h.

◆ AF_OSI

#define AF_OSI   AF_ISO

Definition at line 36 of file ws2def.h.

◆ AF_PUP

#define AF_PUP   4

Definition at line 31 of file ws2def.h.

◆ AF_SNA

#define AF_SNA   11

Definition at line 40 of file ws2def.h.

◆ AF_UNIX

#define AF_UNIX   1

Definition at line 28 of file ws2def.h.

◆ AF_UNKNOWN1

#define AF_UNKNOWN1   20

Definition at line 49 of file ws2def.h.

◆ AF_UNSPEC

#define AF_UNSPEC   0

Definition at line 27 of file ws2def.h.

◆ AF_VOICEVIEW

#define AF_VOICEVIEW   18

Definition at line 47 of file ws2def.h.

◆ AI_ADDRCONFIG

#define AI_ADDRCONFIG   0x00000400

Definition at line 299 of file ws2def.h.

◆ AI_ALL

#define AI_ALL   0x00000100

Definition at line 298 of file ws2def.h.

◆ AI_CANONNAME

#define AI_CANONNAME   0x00000002

Definition at line 294 of file ws2def.h.

◆ AI_DISABLE_IDN_ENCODING

#define AI_DISABLE_IDN_ENCODING   0x00080000

Definition at line 309 of file ws2def.h.

◆ AI_FILESERVER

#define AI_FILESERVER   0x00040000

Definition at line 307 of file ws2def.h.

◆ AI_FQDN

#define AI_FQDN   0x00020000

Definition at line 306 of file ws2def.h.

◆ AI_NON_AUTHORITATIVE

#define AI_NON_AUTHORITATIVE   0x00004000

Definition at line 302 of file ws2def.h.

◆ AI_NUMERICHOST

#define AI_NUMERICHOST   0x00000004

Definition at line 295 of file ws2def.h.

◆ AI_NUMERICSERV

#define AI_NUMERICSERV   0x00000008

Definition at line 296 of file ws2def.h.

◆ AI_PASSIVE

#define AI_PASSIVE   0x00000001

Definition at line 293 of file ws2def.h.

◆ AI_RETURN_PREFERRED_NAMES

#define AI_RETURN_PREFERRED_NAMES   0x00010000

Definition at line 304 of file ws2def.h.

◆ AI_SECURE

#define AI_SECURE   0x00008000

Definition at line 303 of file ws2def.h.

◆ AI_V4MAPPED

#define AI_V4MAPPED   0x00000800

Definition at line 300 of file ws2def.h.

◆ IN_CLASSA

#define IN_CLASSA (   i)    (((LONG)(i) & 0x80000000) == 0)

Definition at line 248 of file ws2def.h.

◆ IN_CLASSA_HOST

#define IN_CLASSA_HOST   0x00ffffff

Definition at line 251 of file ws2def.h.

◆ IN_CLASSA_MAX

#define IN_CLASSA_MAX   128

Definition at line 252 of file ws2def.h.

◆ IN_CLASSA_NET

#define IN_CLASSA_NET   0xff000000

Definition at line 249 of file ws2def.h.

◆ IN_CLASSA_NSHIFT

#define IN_CLASSA_NSHIFT   24

Definition at line 250 of file ws2def.h.

◆ IN_CLASSB

#define IN_CLASSB (   i)    (((LONG)(i) & 0xc0000000) == 0x80000000)

Definition at line 254 of file ws2def.h.

◆ IN_CLASSB_HOST

#define IN_CLASSB_HOST   0x0000ffff

Definition at line 257 of file ws2def.h.

◆ IN_CLASSB_MAX

#define IN_CLASSB_MAX   65536

Definition at line 258 of file ws2def.h.

◆ IN_CLASSB_NET

#define IN_CLASSB_NET   0xffff0000

Definition at line 255 of file ws2def.h.

◆ IN_CLASSB_NSHIFT

#define IN_CLASSB_NSHIFT   16

Definition at line 256 of file ws2def.h.

◆ IN_CLASSC

#define IN_CLASSC (   i)    (((LONG)(i) & 0xe0000000) == 0xc0000000)

Definition at line 260 of file ws2def.h.

◆ IN_CLASSC_HOST

#define IN_CLASSC_HOST   0x000000ff

Definition at line 263 of file ws2def.h.

◆ IN_CLASSC_NET

#define IN_CLASSC_NET   0xffffff00

Definition at line 261 of file ws2def.h.

◆ IN_CLASSC_NSHIFT

#define IN_CLASSC_NSHIFT   8

Definition at line 262 of file ws2def.h.

◆ IN_CLASSD

#define IN_CLASSD (   i)    (((long)(i) & 0xf0000000) == 0xe0000000)

Definition at line 265 of file ws2def.h.

◆ IN_CLASSD_HOST

#define IN_CLASSD_HOST   0x0fffffff

Definition at line 268 of file ws2def.h.

◆ IN_CLASSD_NET

#define IN_CLASSD_NET   0xf0000000

Definition at line 266 of file ws2def.h.

◆ IN_CLASSD_NSHIFT

#define IN_CLASSD_NSHIFT   28

Definition at line 267 of file ws2def.h.

◆ IN_MULTICAST

#define IN_MULTICAST (   i)    IN_CLASSD(i)

Definition at line 269 of file ws2def.h.

◆ INADDR_ANY

#define INADDR_ANY   (ULONG)0x00000000

Definition at line 271 of file ws2def.h.

◆ INADDR_BROADCAST

#define INADDR_BROADCAST   (ULONG)0xffffffff

Definition at line 273 of file ws2def.h.

◆ INADDR_LOOPBACK

#define INADDR_LOOPBACK   0x7f000001

Definition at line 272 of file ws2def.h.

◆ INADDR_NONE

#define INADDR_NONE   0xffffffff

Definition at line 274 of file ws2def.h.

◆ IOC_IN

#define IOC_IN   0x80000000

Definition at line 281 of file ws2def.h.

◆ IOC_INOUT

#define IOC_INOUT   (IOC_IN|IOC_OUT)

Definition at line 282 of file ws2def.h.

◆ IOC_OUT

#define IOC_OUT   0x40000000

Definition at line 280 of file ws2def.h.

◆ IOC_PROTOCOL

#define IOC_PROTOCOL   0x10000000

Definition at line 150 of file ws2def.h.

◆ IOC_UNIX

#define IOC_UNIX   0x00000000

Definition at line 148 of file ws2def.h.

◆ IOC_VENDOR

#define IOC_VENDOR   0x18000000

Definition at line 151 of file ws2def.h.

◆ IOC_VOID

#define IOC_VOID   0x20000000

Definition at line 279 of file ws2def.h.

◆ IOC_WS2

#define IOC_WS2   0x08000000

Definition at line 149 of file ws2def.h.

◆ IOCPARM_MASK

#define IOCPARM_MASK   0x7f

Definition at line 278 of file ws2def.h.

◆ IPPORT_BIFFUDP

#define IPPORT_BIFFUDP   512

Definition at line 234 of file ws2def.h.

◆ IPPORT_CHARGEN

#define IPPORT_CHARGEN   19

Definition at line 200 of file ws2def.h.

◆ IPPORT_CMDSERVER

#define IPPORT_CMDSERVER   514

Definition at line 231 of file ws2def.h.

◆ IPPORT_DAYTIME

#define IPPORT_DAYTIME   13

Definition at line 196 of file ws2def.h.

◆ IPPORT_DISCARD

#define IPPORT_DISCARD   9

Definition at line 194 of file ws2def.h.

◆ IPPORT_ECHO

#define IPPORT_ECHO   7

Definition at line 193 of file ws2def.h.

◆ IPPORT_EFSSERVER

#define IPPORT_EFSSERVER   520

Definition at line 232 of file ws2def.h.

◆ IPPORT_EPMAP

#define IPPORT_EPMAP   135

Definition at line 218 of file ws2def.h.

◆ IPPORT_EXECSERVER

#define IPPORT_EXECSERVER   512

Definition at line 229 of file ws2def.h.

◆ IPPORT_FINGER

#define IPPORT_FINGER   79

Definition at line 212 of file ws2def.h.

◆ IPPORT_FTP

#define IPPORT_FTP   21

Definition at line 202 of file ws2def.h.

◆ IPPORT_FTP_DATA

#define IPPORT_FTP_DATA   20

Definition at line 201 of file ws2def.h.

◆ IPPORT_HTTPS

#define IPPORT_HTTPS   443

Definition at line 227 of file ws2def.h.

◆ IPPORT_IMAP

#define IPPORT_IMAP   143

Definition at line 222 of file ws2def.h.

◆ IPPORT_IMAP3

#define IPPORT_IMAP3   220

Definition at line 225 of file ws2def.h.

◆ IPPORT_LDAP

#define IPPORT_LDAP   389

Definition at line 226 of file ws2def.h.

◆ IPPORT_LOGINSERVER

#define IPPORT_LOGINSERVER   513

Definition at line 230 of file ws2def.h.

◆ IPPORT_MICROSOFT_DS

#define IPPORT_MICROSOFT_DS   445

Definition at line 228 of file ws2def.h.

◆ IPPORT_MSP

#define IPPORT_MSP   18

Definition at line 199 of file ws2def.h.

◆ IPPORT_MTP

#define IPPORT_MTP   57

Definition at line 208 of file ws2def.h.

◆ IPPORT_NAMESERVER

#define IPPORT_NAMESERVER   42

Definition at line 206 of file ws2def.h.

◆ IPPORT_NETBIOS_DGM

#define IPPORT_NETBIOS_DGM   138

Definition at line 220 of file ws2def.h.

◆ IPPORT_NETBIOS_NS

#define IPPORT_NETBIOS_NS   137

Definition at line 219 of file ws2def.h.

◆ IPPORT_NETBIOS_SSN

#define IPPORT_NETBIOS_SSN   139

Definition at line 221 of file ws2def.h.

◆ IPPORT_NETSTAT

#define IPPORT_NETSTAT   15

Definition at line 197 of file ws2def.h.

◆ IPPORT_NTP

#define IPPORT_NTP   123

Definition at line 217 of file ws2def.h.

◆ IPPORT_POP3

#define IPPORT_POP3   110

Definition at line 216 of file ws2def.h.

◆ IPPORT_QOTD

#define IPPORT_QOTD   17

Definition at line 198 of file ws2def.h.

◆ IPPORT_RESERVED

#define IPPORT_RESERVED   1024

Definition at line 237 of file ws2def.h.

◆ IPPORT_RJE

#define IPPORT_RJE   77

Definition at line 211 of file ws2def.h.

◆ IPPORT_ROUTESERVER

#define IPPORT_ROUTESERVER   520

Definition at line 236 of file ws2def.h.

◆ IPPORT_SMTP

#define IPPORT_SMTP   25

Definition at line 204 of file ws2def.h.

◆ IPPORT_SNMP

#define IPPORT_SNMP   161

Definition at line 223 of file ws2def.h.

◆ IPPORT_SNMP_TRAP

#define IPPORT_SNMP_TRAP   162

Definition at line 224 of file ws2def.h.

◆ IPPORT_SUPDUP

#define IPPORT_SUPDUP   95

Definition at line 214 of file ws2def.h.

◆ IPPORT_SYSTAT

#define IPPORT_SYSTAT   11

Definition at line 195 of file ws2def.h.

◆ IPPORT_TCPMUX

#define IPPORT_TCPMUX   1

Definition at line 192 of file ws2def.h.

◆ IPPORT_TELNET

#define IPPORT_TELNET   23

Definition at line 203 of file ws2def.h.

◆ IPPORT_TFTP

#define IPPORT_TFTP   69

Definition at line 210 of file ws2def.h.

◆ IPPORT_TIMESERVER

#define IPPORT_TIMESERVER   37

Definition at line 205 of file ws2def.h.

◆ IPPORT_TTYLINK

#define IPPORT_TTYLINK   87

Definition at line 213 of file ws2def.h.

◆ IPPORT_WHOIS

#define IPPORT_WHOIS   43

Definition at line 207 of file ws2def.h.

◆ IPPORT_WHOSERVER

#define IPPORT_WHOSERVER   513

Definition at line 235 of file ws2def.h.

◆ IPPROTO_IP

#define IPPROTO_IP   0

Definition at line 190 of file ws2def.h.

◆ MSG_BCAST

#define MSG_BCAST   0x0400

Definition at line 290 of file ws2def.h.

◆ MSG_CTRUNC

#define MSG_CTRUNC   0x0200

Definition at line 289 of file ws2def.h.

◆ MSG_MCAST

#define MSG_MCAST   0x0800

Definition at line 291 of file ws2def.h.

◆ MSG_TRUNC

#define MSG_TRUNC   0x0100

Definition at line 288 of file ws2def.h.

◆ NI_DGRAM

#define NI_DGRAM   0x10

Definition at line 357 of file ws2def.h.

◆ NI_MAXHOST

#define NI_MAXHOST   1025

Definition at line 359 of file ws2def.h.

◆ NI_MAXSERV

#define NI_MAXSERV   32

Definition at line 360 of file ws2def.h.

◆ NI_NAMEREQD

#define NI_NAMEREQD   0x04

Definition at line 355 of file ws2def.h.

◆ NI_NOFQDN

#define NI_NOFQDN   0x01

Definition at line 353 of file ws2def.h.

◆ NI_NUMERICHOST

#define NI_NUMERICHOST   0x02

Definition at line 354 of file ws2def.h.

◆ NI_NUMERICSERV

#define NI_NUMERICSERV   0x08

Definition at line 356 of file ws2def.h.

◆ NS_ALL

#define NS_ALL   0

Definition at line 311 of file ws2def.h.

◆ NS_DHCP

#define NS_DHCP   6

Definition at line 317 of file ws2def.h.

◆ NS_DNS

#define NS_DNS   12

Definition at line 321 of file ws2def.h.

◆ NS_MS

#define NS_MS   30

Definition at line 335 of file ws2def.h.

◆ NS_NBP

#define NS_NBP   20

Definition at line 333 of file ws2def.h.

◆ NS_NDS

#define NS_NDS   2

Definition at line 314 of file ws2def.h.

◆ NS_NETBT

#define NS_NETBT   13

Definition at line 322 of file ws2def.h.

◆ NS_NETDES

#define NS_NETDES   60

Definition at line 351 of file ws2def.h.

◆ NS_NIS

#define NS_NIS   41

Definition at line 346 of file ws2def.h.

◆ NS_NISPLUS

#define NS_NISPLUS   42

Definition at line 347 of file ws2def.h.

◆ NS_NTDS

#define NS_NTDS   32

Definition at line 337 of file ws2def.h.

◆ NS_PEER_BROWSE

#define NS_PEER_BROWSE   3

Definition at line 315 of file ws2def.h.

◆ NS_SAP

#define NS_SAP   1

Definition at line 313 of file ws2def.h.

◆ NS_SLP

#define NS_SLP   5

Definition at line 316 of file ws2def.h.

◆ NS_STDA

#define NS_STDA   31

Definition at line 336 of file ws2def.h.

◆ NS_TCPIP_HOSTS

#define NS_TCPIP_HOSTS   11

Definition at line 320 of file ws2def.h.

◆ NS_TCPIP_LOCAL

#define NS_TCPIP_LOCAL   10

Definition at line 319 of file ws2def.h.

◆ NS_WINS

#define NS_WINS   14

Definition at line 323 of file ws2def.h.

◆ NS_WRQ

#define NS_WRQ   50

Definition at line 349 of file ws2def.h.

◆ NS_X500

#define NS_X500   40

Definition at line 345 of file ws2def.h.

◆ SCOPEID_UNSPECIFIED_INIT

#define SCOPEID_UNSPECIFIED_INIT   {0}

Definition at line 276 of file ws2def.h.

◆ SIO_ADDRESS_LIST_CHANGE

#define SIO_ADDRESS_LIST_CHANGE   _WSAIO(IOC_WS2,23)

Definition at line 178 of file ws2def.h.

◆ SIO_ADDRESS_LIST_QUERY

#define SIO_ADDRESS_LIST_QUERY   _WSAIOR(IOC_WS2,22)

Definition at line 177 of file ws2def.h.

◆ SIO_ASSOCIATE_HANDLE

#define SIO_ASSOCIATE_HANDLE   _WSAIOW(IOC_WS2,1)

Definition at line 162 of file ws2def.h.

◆ SIO_ENABLE_CIRCULAR_QUEUEING

#define SIO_ENABLE_CIRCULAR_QUEUEING   _WSAIO(IOC_WS2,2)

Definition at line 163 of file ws2def.h.

◆ SIO_FIND_ROUTE

#define SIO_FIND_ROUTE   _WSAIOR(IOC_WS2,3)

Definition at line 164 of file ws2def.h.

◆ SIO_FLUSH

#define SIO_FLUSH   _WSAIO(IOC_WS2,4)

Definition at line 165 of file ws2def.h.

◆ SIO_GET_BROADCAST_ADDRESS

#define SIO_GET_BROADCAST_ADDRESS   _WSAIOR(IOC_WS2,5)

Definition at line 166 of file ws2def.h.

◆ SIO_GET_EXTENSION_FUNCTION_POINTER

#define SIO_GET_EXTENSION_FUNCTION_POINTER   _WSAIORW(IOC_WS2,6)

Definition at line 167 of file ws2def.h.

◆ SIO_GET_GROUP_QOS

#define SIO_GET_GROUP_QOS   _WSAIORW(IOC_WS2,8)

Definition at line 169 of file ws2def.h.

◆ SIO_GET_QOS

#define SIO_GET_QOS   _WSAIORW(IOC_WS2,7)

Definition at line 168 of file ws2def.h.

◆ SIO_MULTICAST_SCOPE

#define SIO_MULTICAST_SCOPE   _WSAIOW(IOC_WS2,10)

Definition at line 171 of file ws2def.h.

◆ SIO_MULTIPOINT_LOOPBACK

#define SIO_MULTIPOINT_LOOPBACK   _WSAIOW(IOC_WS2,9)

Definition at line 170 of file ws2def.h.

◆ SIO_QUERY_TARGET_PNP_HANDLE

#define SIO_QUERY_TARGET_PNP_HANDLE   _WSAIOR(IOC_WS2,24)

Definition at line 179 of file ws2def.h.

◆ SIO_ROUTING_INTERFACE_CHANGE

#define SIO_ROUTING_INTERFACE_CHANGE   _WSAIOW(IOC_WS2,21)

Definition at line 176 of file ws2def.h.

◆ SIO_ROUTING_INTERFACE_QUERY

#define SIO_ROUTING_INTERFACE_QUERY   _WSAIORW(IOC_WS2,20)

Definition at line 175 of file ws2def.h.

◆ SIO_SET_GROUP_QOS

#define SIO_SET_GROUP_QOS   _WSAIOW(IOC_WS2,12)

Definition at line 173 of file ws2def.h.

◆ SIO_SET_QOS

#define SIO_SET_QOS   _WSAIOW(IOC_WS2,11)

Definition at line 172 of file ws2def.h.

◆ SIO_TRANSLATE_HANDLE

#define SIO_TRANSLATE_HANDLE   _WSAIORW(IOC_WS2,13)

Definition at line 174 of file ws2def.h.

◆ SO_ACCEPTCONN

#define SO_ACCEPTCONN   0x0002

Definition at line 95 of file ws2def.h.

◆ SO_BROADCAST

#define SO_BROADCAST   0x0020

Definition at line 99 of file ws2def.h.

◆ SO_BSP_STATE

#define SO_BSP_STATE   0x1009

Definition at line 115 of file ws2def.h.

◆ SO_COMPARTMENT_ID

#define SO_COMPARTMENT_ID   0x3004

Definition at line 123 of file ws2def.h.

◆ SO_CONDITIONAL_ACCEPT

#define SO_CONDITIONAL_ACCEPT   0x3002

Definition at line 121 of file ws2def.h.

◆ SO_DEBUG

#define SO_DEBUG   0x0001

Definition at line 94 of file ws2def.h.

◆ SO_DONTLINGER

#define SO_DONTLINGER   (int)(~SO_LINGER)

Definition at line 104 of file ws2def.h.

◆ SO_DONTROUTE

#define SO_DONTROUTE   0x0010

Definition at line 98 of file ws2def.h.

◆ SO_ERROR

#define SO_ERROR   0x1007

Definition at line 113 of file ws2def.h.

◆ SO_EXCLUSIVEADDRUSE

#define SO_EXCLUSIVEADDRUSE   ((int)(~SO_REUSEADDR))

Definition at line 105 of file ws2def.h.

◆ SO_GROUP_ID

#define SO_GROUP_ID   0x2001

Definition at line 117 of file ws2def.h.

◆ SO_GROUP_PRIORITY

#define SO_GROUP_PRIORITY   0x2002

Definition at line 118 of file ws2def.h.

◆ SO_KEEPALIVE

#define SO_KEEPALIVE   0x0008

Definition at line 97 of file ws2def.h.

◆ SO_LINGER

#define SO_LINGER   0x0080

Definition at line 101 of file ws2def.h.

◆ SO_MAX_MSG_SIZE

#define SO_MAX_MSG_SIZE   0x2003

Definition at line 119 of file ws2def.h.

◆ SO_OOBINLINE

#define SO_OOBINLINE   0x0100

Definition at line 102 of file ws2def.h.

◆ SO_PAUSE_ACCEPT

#define SO_PAUSE_ACCEPT   0x3003

Definition at line 122 of file ws2def.h.

◆ SO_RCVBUF

#define SO_RCVBUF   0x1002

Definition at line 108 of file ws2def.h.

◆ SO_RCVLOWAT

#define SO_RCVLOWAT   0x1004

Definition at line 110 of file ws2def.h.

◆ SO_RCVTIMEO

#define SO_RCVTIMEO   0x1006

Definition at line 112 of file ws2def.h.

◆ SO_REUSEADDR

#define SO_REUSEADDR   0x0004

Definition at line 96 of file ws2def.h.

◆ SO_SNDBUF

#define SO_SNDBUF   0x1001

Definition at line 107 of file ws2def.h.

◆ SO_SNDLOWAT

#define SO_SNDLOWAT   0x1003

Definition at line 109 of file ws2def.h.

◆ SO_SNDTIMEO

#define SO_SNDTIMEO   0x1005

Definition at line 111 of file ws2def.h.

◆ SO_TYPE

#define SO_TYPE   0x1008

Definition at line 114 of file ws2def.h.

◆ SO_USELOOPBACK

#define SO_USELOOPBACK   0x0040

Definition at line 100 of file ws2def.h.

◆ SOCK_DGRAM

#define SOCK_DGRAM   2

Definition at line 87 of file ws2def.h.

◆ SOCK_RAW

#define SOCK_RAW   3

Definition at line 88 of file ws2def.h.

◆ SOCK_RDM

#define SOCK_RDM   4

Definition at line 89 of file ws2def.h.

◆ SOCK_SEQPACKET

#define SOCK_SEQPACKET   5

Definition at line 90 of file ws2def.h.

◆ SOCK_STREAM

#define SOCK_STREAM   1

Definition at line 86 of file ws2def.h.

◆ SOL_SOCKET

#define SOL_SOCKET   0xffff

Definition at line 92 of file ws2def.h.

◆ TCP_NODELAY

#define TCP_NODELAY   0x0001

Definition at line 131 of file ws2def.h.

◆ WSA_CMSG_DATA

#define WSA_CMSG_DATA (   cmsg)    ((PUCHAR)(cmsg) + WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)))

Definition at line 628 of file ws2def.h.

◆ WSA_CMSG_FIRSTHDR

#define WSA_CMSG_FIRSTHDR (   msg)
Value:
(((msg)->Control.len >= sizeof(WSACMSGHDR)) \
? (LPWSACMSGHDR)(msg)->Control.buf \
#define msg(x)
Definition: auth_time.c:54
#define NULL
Definition: types.h:112
_In_ WDF_WMI_PROVIDER_CONTROL Control
Definition: wdfwmi.h:166

Definition at line 577 of file ws2def.h.

◆ WSA_CMSG_LEN

#define WSA_CMSG_LEN (   length)    (WSA_CMSGDATA_ALIGN(sizeof(WSACMSGHDR)) + length)

Definition at line 658 of file ws2def.h.

◆ WSA_CMSG_NXTHDR

#define WSA_CMSG_NXTHDR (   msg,
  cmsg 
)
Value:
( ((cmsg) == NULL) \
: ( ( ((PUCHAR)(cmsg) + \
WSA_CMSGHDR_ALIGN((cmsg)->cmsg_len) + \
sizeof(WSACMSGHDR) ) > \
(PUCHAR)((msg)->Control.buf) + \
(msg)->Control.len ) \
: (LPWSACMSGHDR)((PUCHAR)(cmsg) + \
WSA_CMSGHDR_ALIGN((cmsg)->cmsg_len)) ) )
unsigned char * PUCHAR
Definition: typedefs.h:53
struct _WSACMSGHDR * LPWSACMSGHDR
#define WSA_CMSG_FIRSTHDR(msg)
Definition: ws2def.h:577

Definition at line 597 of file ws2def.h.

◆ WSA_CMSG_SPACE

Definition at line 642 of file ws2def.h.

◆ WSA_CMSGDATA_ALIGN

#define WSA_CMSGDATA_ALIGN (   length)
Value:
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
#define MAX_NATURAL_ALIGNMENT
Definition: ntbasedef.h:89

Definition at line 557 of file ws2def.h.

◆ WSA_CMSGHDR_ALIGN

#define WSA_CMSGHDR_ALIGN (   length)
Value:
#define TYPE_ALIGNMENT(t)
Definition: ntbasedef.h:117

Definition at line 554 of file ws2def.h.

◆ WSK_SO_BASE

#define WSK_SO_BASE   0x4000

Definition at line 129 of file ws2def.h.

Typedef Documentation

◆ ADDRESS_FAMILY

Definition at line 25 of file ws2def.h.

◆ ADDRINFOA

◆ ADDRINFOW

◆ CSADDR_INFO

◆ LPCSADDR_INFO

◆ LPSOCKADDR

◆ LPSOCKADDR_STORAGE_LH

◆ LPSOCKADDR_STORAGE_XP

◆ LPSOCKET_ADDRESS

◆ LPSOCKET_ADDRESS_LIST

◆ LPWSABUF

◆ LPWSACMSGHDR

◆ LPWSAMSG

◆ PADDRINFOA

◆ PADDRINFOW

◆ PCSADDR_INFO

◆ PIPROTO

typedef enum IPPROTO * PIPROTO

◆ PSCOPE_ID

◆ PSOCKADDR

◆ PSOCKADDR_IN

◆ PSOCKADDR_STORAGE_LH

◆ PSOCKADDR_STORAGE_XP

◆ PSOCKET_ADDRESS

◆ PSOCKET_ADDRESS_LIST

◆ PWSACMSGHDR

◆ PWSAMSG

typedef struct _WSAMSG * PWSAMSG

◆ SOCKADDR

◆ SOCKADDR_IN

◆ SOCKADDR_STORAGE_LH

◆ SOCKADDR_STORAGE_XP

◆ SOCKET_ADDRESS

◆ SOCKET_ADDRESS_LIST

◆ WSABUF

◆ WSACMSGHDR

◆ WSAMSG

Enumeration Type Documentation

◆ IPPROTO

Enumerator
IPPROTO_ICMP 
IPPROTO_IGMP 
IPPROTO_GGP 
IPPROTO_TCP 
IPPROTO_PUP 
IPPROTO_UDP 
IPPROTO_IDP 
IPPROTO_ND 
IPPROTO_RAW 
IPPROTO_MAX 
IPPROTO_RESERVED_RAW 
IPPROTO_RESERVED_IPSEC 
IPPROTO_RESERVED_IPSECOFFLOAD 
IPPROTO_RESERVED_MAX 

Definition at line 425 of file ws2def.h.

425 {
426#if (_WIN32_WINNT >= 0x0501)
427 IPPROTO_HOPOPTS = 0,
428#endif
429 IPPROTO_ICMP = 1,
430 IPPROTO_IGMP = 2,
431 IPPROTO_GGP = 3,
432#if (_WIN32_WINNT >= 0x0501)
433 IPPROTO_IPV4 = 4,
434#endif
435#if (_WIN32_WINNT >= 0x0600)
436 IPPROTO_ST = 5,
437#endif
438 IPPROTO_TCP = 6,
439#if (_WIN32_WINNT >= 0x0600)
440 IPPROTO_CBT = 7,
441 IPPROTO_EGP = 8,
442 IPPROTO_IGP = 9,
443#endif
444 IPPROTO_PUP = 12,
445 IPPROTO_UDP = 17,
446 IPPROTO_IDP = 22,
447#if (_WIN32_WINNT >= 0x0600)
448 IPPROTO_RDP = 27,
449#endif
450#if (_WIN32_WINNT >= 0x0501)
451 IPPROTO_IPV6 = 41,
452 IPPROTO_ROUTING = 43,
453 IPPROTO_FRAGMENT = 44,
454 IPPROTO_ESP = 50,
455 IPPROTO_AH = 51,
456 IPPROTO_ICMPV6 = 58,
457 IPPROTO_NONE = 59,
458 IPPROTO_DSTOPTS = 60,
459#endif /* (_WIN32_WINNT >= 0x0501) */
460 IPPROTO_ND = 77,
461#if(_WIN32_WINNT >= 0x0501)
462 IPPROTO_ICLFXBM = 78,
463#endif
464#if (_WIN32_WINNT >= 0x0600)
465 IPPROTO_PIM = 103,
466 IPPROTO_PGM = 113,
467 IPPROTO_L2TP = 115,
468 IPPROTO_SCTP = 132,
469#endif /* (_WIN32_WINNT >= 0x0600) */
470 IPPROTO_RAW = 255,
471 IPPROTO_MAX = 256,
476} IPPROTO, *PIPROTO;
enum IPPROTO * PIPROTO
IPPROTO
Definition: ws2def.h:425
@ IPPROTO_MAX
Definition: ws2def.h:471
@ IPPROTO_IDP
Definition: ws2def.h:446
@ IPPROTO_RESERVED_IPSECOFFLOAD
Definition: ws2def.h:474
@ IPPROTO_RAW
Definition: ws2def.h:470
@ IPPROTO_RESERVED_MAX
Definition: ws2def.h:475
@ IPPROTO_TCP
Definition: ws2def.h:438
@ IPPROTO_IGMP
Definition: ws2def.h:430
@ IPPROTO_PUP
Definition: ws2def.h:444
@ IPPROTO_RESERVED_RAW
Definition: ws2def.h:472
@ IPPROTO_ICMP
Definition: ws2def.h:429
@ IPPROTO_GGP
Definition: ws2def.h:431
@ IPPROTO_UDP
Definition: ws2def.h:445
@ IPPROTO_ND
Definition: ws2def.h:460
@ IPPROTO_RESERVED_IPSEC
Definition: ws2def.h:473

◆ SCOPE_LEVEL

Enumerator
ScopeLevelInterface 
ScopeLevelLink 
ScopeLevelSubnet 
ScopeLevelAdmin 
ScopeLevelSite 
ScopeLevelOrganization 
ScopeLevelGlobal 
ScopeLevelCount 

Definition at line 478 of file ws2def.h.

478 {
480 ScopeLevelLink = 2,
482 ScopeLevelAdmin = 4,
483 ScopeLevelSite = 5,
485 ScopeLevelGlobal = 14,
486 ScopeLevelCount = 16
SCOPE_LEVEL
Definition: ws2def.h:478
@ ScopeLevelCount
Definition: ws2def.h:486
@ ScopeLevelSubnet
Definition: ws2def.h:481
@ ScopeLevelLink
Definition: ws2def.h:480
@ ScopeLevelInterface
Definition: ws2def.h:479
@ ScopeLevelSite
Definition: ws2def.h:483
@ ScopeLevelOrganization
Definition: ws2def.h:484
@ ScopeLevelGlobal
Definition: ws2def.h:485
@ ScopeLevelAdmin
Definition: ws2def.h:482