struct _TDI_PROVIDER_STATISTICS {
ULONG Version;
ULONG OpenConnections;
ULONG ConnectionsAfterNoRetry;
ULONG ConnectionsAfterRetry;
ULONG LocalDisconnects;
ULONG RemoteDisconnects;
ULONG LinkFailures;
ULONG AdapterFailures;
ULONG SessionTimeouts;
ULONG CancelledConnections;
ULONG RemoteResourceFailures;
ULONG LocalResourceFailures;
ULONG NotFoundFailures;
ULONG NoListenFailures;
ULONG DatagramsSent;
LARGE_INTEGER DatagramBytesSent;
ULONG DatagramsReceived;
LARGE_INTEGER DatagramBytesReceived;
ULONG PacketsSent;
ULONG PacketsReceived;
ULONG DataFramesSent;
LARGE_INTEGER DataFrameBytesSent;
ULONG DataFramesReceived;
LARGE_INTEGER DataFrameBytesReceived;
ULONG DataFramesResent;
LARGE_INTEGER DataFrameBytesResent;
ULONG DataFramesRejected;
LARGE_INTEGER DataFrameBytesRejected;
ULONG ResponseTimerExpirations;
ULONG AckTimerExpirations;
ULONG MaximumSendWindow;
ULONG AverageSendWindow;
ULONG PiggybackAckQueued;
ULONG PiggybackAckTimeouts;
LARGE_INTEGER Reserved1;
ULONG Reserved2;
ULONG NumberOfResources;
TDI_PROVIDER_RESOURCE_STATS Resources[1];
} TDI_PROVIDER_STATISTICS, *PTDI_PROVIDER_STATISTICS;
TDI_PROVIDER_STATISTICS defines a query buffer containing TDI driver statistics. A kernel-mode client uses this structure for output the driver generates in response to the TDI_QUERY_INFORMATION request message.
Members
Version
Specifies the TDI version number. The low byte represents the minor part of the version number, and the next byte is for the major part. For the current release of TDI, the version number is 0x0100.
OpenConnections
Specifies the number of open connections for the TDI driver.
ConnectionsAfterNoRetry
Specifies the number of connections the driver has established in finding the remote node client server (with no frame retransmissions necessary).
ConnectionsAfterRetry
Specifies the number of connections the driver has established in finding the remote node client server (with frame retransmissions necessary).
LocalDisconnects
Specifies the number of connections that local node clients have closed.
RemoteDisconnects
Specifies the number of connections remote node clients have closed.
LinkFailures
Specifies the number of connections the driver has lost because of link-level failures.
AdapterFailures
Specifies the number of connections the driver has lost because of problems with the netcard.
SessionTimeouts
Specifies the number of connections the driver has lost because of session-level time-outs.
CancelledConnections
Specifies the number of connections TDI clients have rejected.
RemoteResourceFailures
Specifies the number of connections that have failed because of resource problems at the remote node.
LocalResourceFailures
Specifies the number of connections that have failed because of local node resource problems.
NotFoundFailures
Specifies the number of connections that have failed because the driver could not find the remote node on the network.
NoListenFailures
Specifies the number of connections that have failed because local node clients were not listening for incoming connections.
DatagramsSent
Specifies the number of datagrams the TDI driver has sent.
DatagramBytesSent
Specifies the number of bytes of datagram data the driver has sent.
DatagramsReceived
Specifies the number of datagrams the TDI driver has received.
DatagramBytesReceived
Specifies the number of bytes of datagram data the driver has received.
PacketsSent
Specifies the number of packets, including control, data, and other frames, the driver has sent through the NDIS wrapper to the physical medium.
PacketsReceived
Specifies the number of packets, including control, data, and other frames, the driver has received from the physical medium through the NDIS wrapper.
DataFramesSent
Specifies the number of data frames the netcard driver has sent.
DataFrameBytesSent
Specifies the number of bytes of frame data the netcard driver has sent.
DataFramesReceived
Specifies the number of data frames the netcard driver has received.
DataFrameBytesReceived
Specifies the number of bytes of frame data the netcard driver has received.
DataFramesResent
Specifies the number of data frames the netcard driver has resent.
DataFrameBytesResent
Specifies the number of bytes of frame data the netcard driver has resent.
DataFramesRejected
Specifies the number of data frames the netcard driver has received but rejected.
DataFrameBytesRejected
Specifies the number of bytes of frame data the netcard driver has received but rejected.
ResponseTimerExpirations
Specifies the number of times the response timer (for example, T1 for NetBIOS) has expired.
AckTimerExpirations
Specifies the number of times the acknowledgment timer (for example, T2 for NetBIOS) has expired.
MaximumSendWindow
Specifies the maximum send window, measured in bytes, for the TDI driver.
AverageSendWindow
Specifies the average send window, measured in bytes, for the TDI driver.
PiggybackAckQueued
Specifies the number of times the driver has started a timer waiting for reverse traffic on which it can piggyback a data acknowledgment.
PiggybackAckTimeouts
Specifies the number of times a piggyback acknowledgment timer has expired before the driver can send reverse traffic.
Reserved1, Reserved2
Reserved for future use.
NumberOfResources
Specifies the number of TDI_PROVIDER_RESOURCE_STATS structures at the end of this structure, following this member.
Resources[1]
Specifies an array of TDI_PROVIDER_RESOURCE_STATS structures defining TDI driver resources.
See Also
TDI_PROVIDER_INFO, TDI_PROVIDER_RESOURCE_STATS, TDI_QUERY_INFORMATION