ReactOS 0.4.16-dev-321-g63bb46a
tcpmib.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2003 Juan Lang
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18#ifndef __WINE_TCPMIB_H
19#define __WINE_TCPMIB_H
20
21#define TCPIP_OWNING_MODULE_SIZE 16
22
23
24/* TCP tables */
25
26typedef enum
27{
41
42typedef enum
43{
50
51typedef struct _MIB_TCPROW
52{
53 union
54 {
63
64typedef struct _MIB_TCPTABLE
65{
69
70typedef struct _MIB_TCP6ROW {
79
80typedef struct _MIB_TCP6TABLE {
84
85typedef struct _MIB_TCP6ROW2 {
96
97typedef struct _MIB_TCP6TABLE2 {
101
103{
111
113{
117
119{
129
131{
135
136typedef struct _MIB_TCPROW2
137{
146
147typedef struct _MIB_TCPTABLE2
148{
152
153
154/* TCP stats */
155
156typedef enum
157{
162
168
169typedef struct _MIB_TCPSTATS
170{
171 union
172 {
191
192#endif /* __WINE_TCPMIB_H */
unsigned long DWORD
Definition: ntddk_ex.h:95
DWORD dwOwningPid
Definition: tcpmib.h:93
DWORD dwRemoteScopeId
Definition: tcpmib.h:90
DWORD dwLocalScopeId
Definition: tcpmib.h:87
TCP_CONNECTION_OFFLOAD_STATE dwOffloadState
Definition: tcpmib.h:94
DWORD dwLocalPort
Definition: tcpmib.h:88
MIB_TCP_STATE State
Definition: tcpmib.h:92
IN6_ADDR RemoteAddr
Definition: tcpmib.h:89
DWORD dwRemotePort
Definition: tcpmib.h:91
IN6_ADDR LocalAddr
Definition: tcpmib.h:86
DWORD dwLocalPort
Definition: tcpmib.h:74
DWORD dwRemotePort
Definition: tcpmib.h:77
MIB_TCP_STATE State
Definition: tcpmib.h:71
IN6_ADDR RemoteAddr
Definition: tcpmib.h:75
DWORD dwLocalScopeId
Definition: tcpmib.h:73
IN6_ADDR LocalAddr
Definition: tcpmib.h:72
DWORD dwRemoteScopeId
Definition: tcpmib.h:76
DWORD dwNumEntries
Definition: tcpmib.h:98
DWORD dwNumEntries
Definition: tcpmib.h:81
DWORD dwLocalPort
Definition: tcpmib.h:140
DWORD dwOwningPid
Definition: tcpmib.h:143
DWORD dwRemotePort
Definition: tcpmib.h:142
DWORD dwState
Definition: tcpmib.h:138
TCP_CONNECTION_OFFLOAD_STATE dwOffloadState
Definition: tcpmib.h:144
DWORD dwRemoteAddr
Definition: tcpmib.h:141
DWORD dwLocalAddr
Definition: tcpmib.h:139
LARGE_INTEGER liCreateTimestamp
Definition: tcpmib.h:126
ULONGLONG OwningModuleInfo[TCPIP_OWNING_MODULE_SIZE]
Definition: tcpmib.h:127
DWORD dwState
Definition: tcpmib.h:55
DWORD dwLocalPort
Definition: tcpmib.h:59
DWORD dwLocalAddr
Definition: tcpmib.h:58
union _MIB_TCPROW::@3239 DUMMYUNIONNAME
MIB_TCP_STATE State
Definition: tcpmib.h:56
DWORD dwRemotePort
Definition: tcpmib.h:61
DWORD dwRemoteAddr
Definition: tcpmib.h:60
DWORD dwRtoMax
Definition: tcpmib.h:177
DWORD dwMaxConn
Definition: tcpmib.h:178
DWORD dwPassiveOpens
Definition: tcpmib.h:180
DWORD dwActiveOpens
Definition: tcpmib.h:179
DWORD dwInErrs
Definition: tcpmib.h:187
DWORD dwRetransSegs
Definition: tcpmib.h:186
DWORD dwInSegs
Definition: tcpmib.h:184
DWORD dwRtoMin
Definition: tcpmib.h:176
DWORD dwRtoAlgorithm
Definition: tcpmib.h:173
DWORD dwOutSegs
Definition: tcpmib.h:185
DWORD dwEstabResets
Definition: tcpmib.h:182
DWORD dwOutRsts
Definition: tcpmib.h:188
DWORD dwCurrEstab
Definition: tcpmib.h:183
DWORD dwNumConns
Definition: tcpmib.h:189
DWORD dwAttemptFails
Definition: tcpmib.h:181
union _MIB_TCPSTATS::@3240 DUMMYUNIONNAME
TCP_RTO_ALGORITHM RtoAlgorithm
Definition: tcpmib.h:174
DWORD dwNumEntries
Definition: tcpmib.h:149
DWORD dwNumEntries
Definition: tcpmib.h:66
Definition: inet.h:67
TCP_RTO_ALGORITHM
Definition: tcpmib.h:157
@ MIB_TCP_RTO_CONSTANT
Definition: tcpmib.h:164
@ TcpRtoAlgorithmOther
Definition: tcpmib.h:158
@ TcpRtoAlgorithmRsre
Definition: tcpmib.h:160
@ TcpRtoAlgorithmVanj
Definition: tcpmib.h:161
@ MIB_TCP_RTO_OTHER
Definition: tcpmib.h:163
@ MIB_TCP_RTO_RSRE
Definition: tcpmib.h:165
@ MIB_TCP_RTO_VANJ
Definition: tcpmib.h:166
@ TcpRtoAlgorithmConstant
Definition: tcpmib.h:159
struct _MIB_TCPROW * PMIB_TCPROW
struct _MIB_TCP6ROW2 MIB_TCP6ROW2
struct _MIB_TCPROW MIB_TCPROW
struct _MIB_TCP6ROW MIB_TCP6ROW
struct _MIB_TCPTABLE_OWNER_PID * PMIB_TCPTABLE_OWNER_PID
struct _MIB_TCPTABLE_OWNER_MODULE * PMIB_TCPTABLE_OWNER_MODULE
struct _MIB_TCPTABLE * PMIB_TCPTABLE
struct _MIB_TCPROW2 MIB_TCPROW2
struct _MIB_TCPROW_OWNER_PID * PMIB_TCPROW_OWNER_PID
struct _MIB_TCPROW2 * PMIB_TCPROW2
struct _MIB_TCPROW_OWNER_PID MIB_TCPROW_OWNER_PID
#define TCPIP_OWNING_MODULE_SIZE
Definition: tcpmib.h:21
enum TCP_RTO_ALGORITHM * PTCP_RTO_ALGORITHM
MIB_TCP_STATE
Definition: tcpmib.h:27
@ MIB_TCP_STATE_FIN_WAIT1
Definition: tcpmib.h:33
@ MIB_TCP_STATE_DELETE_TCB
Definition: tcpmib.h:39
@ MIB_TCP_STATE_CLOSING
Definition: tcpmib.h:36
@ MIB_TCP_STATE_TIME_WAIT
Definition: tcpmib.h:38
@ MIB_TCP_STATE_SYN_RCVD
Definition: tcpmib.h:31
@ MIB_TCP_STATE_SYN_SENT
Definition: tcpmib.h:30
@ MIB_TCP_STATE_ESTAB
Definition: tcpmib.h:32
@ MIB_TCP_STATE_LISTEN
Definition: tcpmib.h:29
@ MIB_TCP_STATE_CLOSED
Definition: tcpmib.h:28
@ MIB_TCP_STATE_LAST_ACK
Definition: tcpmib.h:37
@ MIB_TCP_STATE_FIN_WAIT2
Definition: tcpmib.h:34
@ MIB_TCP_STATE_CLOSE_WAIT
Definition: tcpmib.h:35
struct _MIB_TCP6ROW * PMIB_TCP6ROW
struct _MIB_TCPSTATS * PMIB_TCPSTATS
struct _MIB_TCPROW_OWNER_MODULE * PMIB_TCPROW_OWNER_MODULE
struct _MIB_TCP6ROW2 * PMIB_TCP6ROW2
struct _MIB_TCP6TABLE MIB_TCP6TABLE
struct _MIB_TCPTABLE_OWNER_MODULE MIB_TCPTABLE_OWNER_MODULE
struct _MIB_TCPSTATS MIB_TCPSTATS
struct _MIB_TCPTABLE2 * PMIB_TCPTABLE2
struct _MIB_TCPTABLE2 MIB_TCPTABLE2
struct _MIB_TCP6TABLE * PMIB_TCP6TABLE
struct _MIB_TCPTABLE_OWNER_PID MIB_TCPTABLE_OWNER_PID
enum TCP_CONNECTION_OFFLOAD_STATE * PTCP_CONNECTION_OFFLOAD_STATE
struct _MIB_TCPROW_OWNER_MODULE MIB_TCPROW_OWNER_MODULE
struct _MIB_TCP6TABLE2 MIB_TCP6TABLE2
TCP_CONNECTION_OFFLOAD_STATE
Definition: tcpmib.h:43
@ TcpConnectionOffloadStateMax
Definition: tcpmib.h:48
@ TcpConnectionOffloadStateOffloading
Definition: tcpmib.h:45
@ TcpConnectionOffloadStateOffloaded
Definition: tcpmib.h:46
@ TcpConnectionOffloadStateUploading
Definition: tcpmib.h:47
@ TcpConnectionOffloadStateInHost
Definition: tcpmib.h:44
struct _MIB_TCP6TABLE2 * PMIB_TCP6TABLE2
struct _MIB_TCPTABLE MIB_TCPTABLE
uint64_t ULONGLONG
Definition: typedefs.h:67