TCP_CONNECTION_OFFLOAD_STATE enumeration (tcpmib.h)
The TCP_CONNECTION_OFFLOAD_STATE enumeration defines the possible TCP offload states for a TCP connection.
Syntax
typedef enum {
TcpConnectionOffloadStateInHost,
TcpConnectionOffloadStateOffloading,
TcpConnectionOffloadStateOffloaded,
TcpConnectionOffloadStateUploading,
TcpConnectionOffloadStateMax
} TCP_CONNECTION_OFFLOAD_STATE, *PTCP_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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | tcpmib.h (include Iphlpapi.h) |