TCP_ESTATS_DATA_RW_v0 structure (tcpestats.h)

The TCP_ESTATS_DATA_RW_v0 structure contains read/write configuration information for extended TCP statistics on data transfer for a TCP connection.

Syntax

typedef struct _TCP_ESTATS_DATA_RW_v0 {
  BOOLEAN EnableCollection;
} TCP_ESTATS_DATA_RW_v0, *PTCP_ESTATS_DATA_RW_v0;

Members

EnableCollection

A value that indicates if extended statistics on a TCP connection should be collected for data transfer information.

If this member is set to TRUE, extended statistics on the TCP connection are enabled. If this member is set to FALSE, extended statistics on the TCP connection are disabled.

The default state for this member when not set is disabled.

Remarks

The TCP_ESTATS_DATA_RW_v0 structure is used as part of the TCP extended statistics feature available on Windows Vista and later.

The TCP_ESTATS_DATA_RW_v0 is defined as version 0 of the structure for read/write configuration information on extended data transfer for a TCP connection.

Extended TCP statistics on extended data transfer information for a TCP connection are enabled and disabled using this structure and the SetPerTcp6ConnectionEStats and SetPerTcpConnectionEStats functions when TcpConnectionEstatsData is passed in the EstatsType parameter.

The TCP_ESTATS_DATA_RW_v0 structure is retrieved by calls to the GetPerTcp6ConnectionEStats or GetPerTcpConnectionEStats functions when TcpConnectionEstatsData is passed in the EstatsType parameter.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header tcpestats.h

See also

GetPerTcp6ConnectionEStats

GetPerTcpConnectionEStats

SetPerTcp6ConnectionEStats

SetPerTcpConnectionEStats

TCP_ESTATS_TYPE