ReactOS 0.4.16-dev-334-g4d9f67c
tcpioctl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IFEntry
 
struct  IPSNMPInfo
 
struct  IPAddrEntry
 
struct  IPInterfaceInfo
 

Macros

#define DD_TCP_DEVICE_NAME   L"\\Device\\Tcp"
 
#define FSCTL_TCP_BASE   FILE_DEVICE_NETWORK
 
#define _TCP_CTL_CODE(Function, Method, Access)    CTL_CODE(FSCTL_TCP_BASE, Function, Method, Access)
 
#define IOCTL_TCP_QUERY_INFORMATION_EX    _TCP_CTL_CODE(0, METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define IOCTL_TCP_SET_INFORMATION_EX    _TCP_CTL_CODE(1, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_QUERY_IP_HW_ADDRESS    _TCP_CTL_CODE(15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SET_IP_ADDRESS    _TCP_CTL_CODE(14, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_DELETE_IP_ADDRESS    _TCP_CTL_CODE(16, METHOD_BUFFERED, FILE_WRITE_ACCESS)
 
#define IOCTL_ICMP_ECHO_REQUEST    _TCP_CTL_CODE(0, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IF_MIB_STATS_ID   1
 
#define IP_MIB_STATS_ID   1
 
#define IP_MIB_ARPTABLE_ENTRY_ID   0x101
 
#define IP_MIB_ADDRTABLE_ENTRY_ID   0x102
 
#define IP_INTFC_INFO_ID   0x103
 
#define MAX_PHYSADDR_SIZE   8
 
#define AO_OPTION_TTL   1
 
#define AO_OPTION_MCASTTTL   2
 
#define AO_OPTION_MCASTIF   3
 
#define AO_OPTION_XSUM   4
 
#define AO_OPTION_IPOPTIONS   5
 
#define AO_OPTION_ADD_MCAST   6
 
#define AO_OPTION_DEL_MCAST   7
 
#define AO_OPTION_TOS   8
 
#define AO_OPTION_IP_DONTFRAGMENT   9
 
#define AO_OPTION_MCASTLOOP   10
 
#define AO_OPTION_BROADCAST   11
 
#define AO_OPTION_IP_HDRINCL   12
 
#define AO_OPTION_RCVALL   13
 
#define AO_OPTION_RCVALL_MCAST   14
 
#define AO_OPTION_RCVALL_IGMPMCAST   15
 
#define AO_OPTION_UNNUMBEREDIF   16
 
#define AO_OPTION_IP_UCASTIF   17
 
#define AO_OPTION_ABSORB_RTRALERT   18
 
#define AO_OPTION_LIMIT_BCASTS   19
 
#define AO_OPTION_INDEX_BIND   20
 
#define AO_OPTION_INDEX_MCASTIF   21
 
#define AO_OPTION_INDEX_ADD_MCAST   22
 
#define AO_OPTION_INDEX_DEL_MCAST   23
 
#define AO_OPTION_IFLIST   24
 
#define AO_OPTION_ADD_IFLIST   25
 
#define AO_OPTION_DEL_IFLIST   26
 
#define AO_OPTION_IP_PKTINFO   27
 
#define AO_OPTION_ADD_MCAST_SRC   28
 
#define AO_OPTION_DEL_MCAST_SRC   29
 
#define AO_OPTION_MCAST_FILTER   30
 
#define AO_OPTION_BLOCK_MCAST_SRC   31
 
#define AO_OPTION_UNBLOCK_MCAST_SRC   32
 
#define AO_OPTION_UDP_CKSUM_COVER   33
 
#define AO_OPTION_WINDOW   34
 
#define AO_OPTION_SCALE_CWIN   35
 
#define AO_OPTION_RCV_HOPLIMIT   36
 
#define AO_OPTION_UNBIND   37
 
#define AO_OPTION_PROTECT   38
 
#define TCP_SOCKET_NODELAY   1
 

Typedefs

typedef struct IFEntry IFEntry
 
typedef struct IPSNMPInfo IPSNMPInfo
 
typedef struct IPAddrEntry IPAddrEntry
 
typedef struct IPInterfaceInfo IPInterfaceInfo
 

Macro Definition Documentation

◆ _TCP_CTL_CODE

#define _TCP_CTL_CODE (   Function,
  Method,
  Access 
)     CTL_CODE(FSCTL_TCP_BASE, Function, Method, Access)

Definition at line 31 of file tcpioctl.h.

◆ AO_OPTION_ABSORB_RTRALERT

#define AO_OPTION_ABSORB_RTRALERT   18

Definition at line 81 of file tcpioctl.h.

◆ AO_OPTION_ADD_IFLIST

#define AO_OPTION_ADD_IFLIST   25

Definition at line 88 of file tcpioctl.h.

◆ AO_OPTION_ADD_MCAST

#define AO_OPTION_ADD_MCAST   6

Definition at line 69 of file tcpioctl.h.

◆ AO_OPTION_ADD_MCAST_SRC

#define AO_OPTION_ADD_MCAST_SRC   28

Definition at line 91 of file tcpioctl.h.

◆ AO_OPTION_BLOCK_MCAST_SRC

#define AO_OPTION_BLOCK_MCAST_SRC   31

Definition at line 94 of file tcpioctl.h.

◆ AO_OPTION_BROADCAST

#define AO_OPTION_BROADCAST   11

Definition at line 74 of file tcpioctl.h.

◆ AO_OPTION_DEL_IFLIST

#define AO_OPTION_DEL_IFLIST   26

Definition at line 89 of file tcpioctl.h.

◆ AO_OPTION_DEL_MCAST

#define AO_OPTION_DEL_MCAST   7

Definition at line 70 of file tcpioctl.h.

◆ AO_OPTION_DEL_MCAST_SRC

#define AO_OPTION_DEL_MCAST_SRC   29

Definition at line 92 of file tcpioctl.h.

◆ AO_OPTION_IFLIST

#define AO_OPTION_IFLIST   24

Definition at line 87 of file tcpioctl.h.

◆ AO_OPTION_INDEX_ADD_MCAST

#define AO_OPTION_INDEX_ADD_MCAST   22

Definition at line 85 of file tcpioctl.h.

◆ AO_OPTION_INDEX_BIND

#define AO_OPTION_INDEX_BIND   20

Definition at line 83 of file tcpioctl.h.

◆ AO_OPTION_INDEX_DEL_MCAST

#define AO_OPTION_INDEX_DEL_MCAST   23

Definition at line 86 of file tcpioctl.h.

◆ AO_OPTION_INDEX_MCASTIF

#define AO_OPTION_INDEX_MCASTIF   21

Definition at line 84 of file tcpioctl.h.

◆ AO_OPTION_IP_DONTFRAGMENT

#define AO_OPTION_IP_DONTFRAGMENT   9

Definition at line 72 of file tcpioctl.h.

◆ AO_OPTION_IP_HDRINCL

#define AO_OPTION_IP_HDRINCL   12

Definition at line 75 of file tcpioctl.h.

◆ AO_OPTION_IP_PKTINFO

#define AO_OPTION_IP_PKTINFO   27

Definition at line 90 of file tcpioctl.h.

◆ AO_OPTION_IP_UCASTIF

#define AO_OPTION_IP_UCASTIF   17

Definition at line 80 of file tcpioctl.h.

◆ AO_OPTION_IPOPTIONS

#define AO_OPTION_IPOPTIONS   5

Definition at line 68 of file tcpioctl.h.

◆ AO_OPTION_LIMIT_BCASTS

#define AO_OPTION_LIMIT_BCASTS   19

Definition at line 82 of file tcpioctl.h.

◆ AO_OPTION_MCAST_FILTER

#define AO_OPTION_MCAST_FILTER   30

Definition at line 93 of file tcpioctl.h.

◆ AO_OPTION_MCASTIF

#define AO_OPTION_MCASTIF   3

Definition at line 66 of file tcpioctl.h.

◆ AO_OPTION_MCASTLOOP

#define AO_OPTION_MCASTLOOP   10

Definition at line 73 of file tcpioctl.h.

◆ AO_OPTION_MCASTTTL

#define AO_OPTION_MCASTTTL   2

Definition at line 65 of file tcpioctl.h.

◆ AO_OPTION_PROTECT

#define AO_OPTION_PROTECT   38

Definition at line 101 of file tcpioctl.h.

◆ AO_OPTION_RCV_HOPLIMIT

#define AO_OPTION_RCV_HOPLIMIT   36

Definition at line 99 of file tcpioctl.h.

◆ AO_OPTION_RCVALL

#define AO_OPTION_RCVALL   13

Definition at line 76 of file tcpioctl.h.

◆ AO_OPTION_RCVALL_IGMPMCAST

#define AO_OPTION_RCVALL_IGMPMCAST   15

Definition at line 78 of file tcpioctl.h.

◆ AO_OPTION_RCVALL_MCAST

#define AO_OPTION_RCVALL_MCAST   14

Definition at line 77 of file tcpioctl.h.

◆ AO_OPTION_SCALE_CWIN

#define AO_OPTION_SCALE_CWIN   35

Definition at line 98 of file tcpioctl.h.

◆ AO_OPTION_TOS

#define AO_OPTION_TOS   8

Definition at line 71 of file tcpioctl.h.

◆ AO_OPTION_TTL

#define AO_OPTION_TTL   1

Definition at line 64 of file tcpioctl.h.

◆ AO_OPTION_UDP_CKSUM_COVER

#define AO_OPTION_UDP_CKSUM_COVER   33

Definition at line 96 of file tcpioctl.h.

◆ AO_OPTION_UNBIND

#define AO_OPTION_UNBIND   37

Definition at line 100 of file tcpioctl.h.

◆ AO_OPTION_UNBLOCK_MCAST_SRC

#define AO_OPTION_UNBLOCK_MCAST_SRC   32

Definition at line 95 of file tcpioctl.h.

◆ AO_OPTION_UNNUMBEREDIF

#define AO_OPTION_UNNUMBEREDIF   16

Definition at line 79 of file tcpioctl.h.

◆ AO_OPTION_WINDOW

#define AO_OPTION_WINDOW   34

Definition at line 97 of file tcpioctl.h.

◆ AO_OPTION_XSUM

#define AO_OPTION_XSUM   4

Definition at line 67 of file tcpioctl.h.

◆ DD_TCP_DEVICE_NAME

#define DD_TCP_DEVICE_NAME   L"\\Device\\Tcp"

Definition at line 25 of file tcpioctl.h.

◆ FSCTL_TCP_BASE

#define FSCTL_TCP_BASE   FILE_DEVICE_NETWORK

Definition at line 29 of file tcpioctl.h.

◆ IF_MIB_STATS_ID

#define IF_MIB_STATS_ID   1

Definition at line 52 of file tcpioctl.h.

◆ IOCTL_DELETE_IP_ADDRESS

#define IOCTL_DELETE_IP_ADDRESS    _TCP_CTL_CODE(16, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 46 of file tcpioctl.h.

◆ IOCTL_ICMP_ECHO_REQUEST

#define IOCTL_ICMP_ECHO_REQUEST    _TCP_CTL_CODE(0, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 49 of file tcpioctl.h.

◆ IOCTL_QUERY_IP_HW_ADDRESS

#define IOCTL_QUERY_IP_HW_ADDRESS    _TCP_CTL_CODE(15, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 40 of file tcpioctl.h.

◆ IOCTL_SET_IP_ADDRESS

#define IOCTL_SET_IP_ADDRESS    _TCP_CTL_CODE(14, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 43 of file tcpioctl.h.

◆ IOCTL_TCP_QUERY_INFORMATION_EX

#define IOCTL_TCP_QUERY_INFORMATION_EX    _TCP_CTL_CODE(0, METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 34 of file tcpioctl.h.

◆ IOCTL_TCP_SET_INFORMATION_EX

#define IOCTL_TCP_SET_INFORMATION_EX    _TCP_CTL_CODE(1, METHOD_BUFFERED, FILE_WRITE_ACCESS)

Definition at line 37 of file tcpioctl.h.

◆ IP_INTFC_INFO_ID

#define IP_INTFC_INFO_ID   0x103

Definition at line 56 of file tcpioctl.h.

◆ IP_MIB_ADDRTABLE_ENTRY_ID

#define IP_MIB_ADDRTABLE_ENTRY_ID   0x102

Definition at line 55 of file tcpioctl.h.

◆ IP_MIB_ARPTABLE_ENTRY_ID

#define IP_MIB_ARPTABLE_ENTRY_ID   0x101

Definition at line 54 of file tcpioctl.h.

◆ IP_MIB_STATS_ID

#define IP_MIB_STATS_ID   1

Definition at line 53 of file tcpioctl.h.

◆ MAX_PHYSADDR_SIZE

#define MAX_PHYSADDR_SIZE   8

Definition at line 61 of file tcpioctl.h.

◆ TCP_SOCKET_NODELAY

#define TCP_SOCKET_NODELAY   1

Definition at line 104 of file tcpioctl.h.

Typedef Documentation

◆ IFEntry

◆ IPAddrEntry

◆ IPInterfaceInfo

◆ IPSNMPInfo