MIBICMPSTATS (Compact 2013)
3/26/2014
This structure contains statistics for either incoming or outgoing Internet Control Message Protocol (ICMP) messages on a particular device.
Syntax
typedef struct _MIBICMPSTATS {
DWORD dwMsgs;
DWORD dwErrors;
DWORD dwDestUnreachs;
DWORD dwTimeExcds;
DWORD dwParmProbs;
DWORD dwSrcQuenchs;
DWORD dwRedirects;
DWORD dwEchos;
DWORD dwEchoReps;
DWORD dwTimestamps;
DWORD dwTimestampReps;
DWORD dwAddrMasks;
DWORD dwAddrMaskReps;
} MIBICMPSTATS;
Members
- dwMsgs
The number of messages that are received or sent.
- wErrors
The number of errors received or sent.
- dwDestUnreachs
The number of destination-unreachable messages that are received or sent. A destination-unreachable message is sent to the originating device when a datagram does not reach its intended destination.
- dwTimeExcds
The number of Time to Live (TTL) exceeded messages that are received or sent. A Time to Live exceeded message is sent to the originating device when a datagram is discarded because the number of routers it has passed through exceeds its Time to Live value.
- dwParmProbs
The number of parameter problem messages that are received or sent. A parameter problem message is sent to the originating device when a router or host detects an error in a datagram's IP header.
- dwSrcQuenchs
The number of source quench messages that are received or sent. A source quench request is sent to a device to request that it reduce its rate of packet transmission.
- dwRedirects
The number of redirect messages that are received or sent. A redirect message is sent to the originating device when a better route is discovered for a datagram sent by that device.
- dwEchos
The number of echo requests received or sent. An echo request causes the receiving device to send an echo reply message back to the originating device.
- dwEchoReps
The number of echo replies received or sent. A device sends an echo reply in response to receiving an echo request message.
- dwTimestamps
The number of time-stamp requests received or sent. A time-stamp request causes the receiving device to send a time-stamp reply back to the originating device.
- dwTimestampReps
The number of time-stamp replies received or sent. A device sends a time-stamp reply in response to receiving a time-stamp request. Routers can use time-stamp requests and replies to measure the transmission speed of datagrams on a network.
- dwAddrMasks
The number of address mask requests received or sent. A device sends an address mask request to determine the number of bits in the subnet mask for its local subnet.
- dwAddrMaskReps
The number of address mask responses received or sent. A device sends an address mask response in response to an address mask request.
Remarks
Two MIBICMPSTATS structures are required to hold all the ICMP statistics for a given device. One structure contains the statistics for incoming ICMP messages. The other contains the statistics for outgoing ICMP messages. For this reason, the MIBICMPINFO structure contains two MIBICMPSTATS structures.
The header file organization has changed and the MIBICMPSTATS structure is defined in the Ipmib.h header file not in the Iprtrmib.h header file. Note that the Ipmib.h header file is automatically included in Iprtrmib.h which is automatically included in the Iphlpapi.h header file. The Ipmib.h and Iprtrmib.h header files should never be used directly.
Requirements
Header |
iprtrmib.h, |
See Also
Reference
MIB Structures
IP Helper Structures
MIB_ICMP
MIB_ICMP_EX
MIBICMPINFO
MIBICMPSTATS_EX