TCP_CONNECTION_OFFLOAD_STATE enumeration

The TCP_CONNECTION_OFFLOAD_STATE enumeration defines the possible TCP offload states for a TCP connection.

Syntax


typedef enum  { 
  TcpConnectionOffloadStateInHost      = 0,
  TcpConnectionOffloadStateOffloading  = 1,
  TcpConnectionOffloadStateOffloaded   = 2,
  TcpConnectionOffloadStateUploading   = 3,
  TcpConnectionOffloadStateMax         = 4
} TCP_CONNECTION_OFFLOAD_STATE;

Constants

TcpConnectionOffloadStateInHost

The TCP connection is currently owned by the network stack on the local computer, and is not offloaded

TcpConnectionOffloadStateOffloading

The TCP connection is in the process of being offloaded, but the offload has not been completed.

TcpConnectionOffloadStateOffloaded

The TCP connection is offloaded to the network interface controller.

TcpConnectionOffloadStateUploading

The TCP connection is in the process of being uploaded back to the network stack on the local computer, but the reinstate-to-host process has not completed.

TcpConnectionOffloadStateMax

The maximum possible value for the TCP_CONNECTION_OFFLOAD_STATE enumeration type. This is not a legal value for the possible TCP connection offload state.

Remarks

The TCP_CONNECTION_OFFLOAD_STATE enumeration is defined on Windows Server 2003 and later.

On the Microsoft Windows Software Development Kit (SDK) released for Windows Vista and later, the organization of header files has changed and the TCP_CONNECTION_OFFLOAD_STATE enumeration is defined in the Tcpmib.h header file not in the Iprtrmib.h header file. Note that the Tcpmib.h header file is automatically included in Iprtrmib.h which is automatically included in the Iphlpapi.h header file. The Tcpmib.h and Iprtrmib.h header files should never be used directly.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Tcpmib.h on Windows Server 2008 and Windows Vista (include Iphlpapi.h);
Iprtrmib.h on Windows Server 2003 (include Iphlpapi.h)

See also

GetTcp6Table
GetTcp6Table2
MIB_TCP6ROW2
MIB_TCPROW2
MIB_TCP6TABLE2
MIB_TCPTABLE2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft