Compartilhar via


MIBICMPSTATS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure contains statistics for either incoming or outgoing Internet Control Message Protocol (ICMP) messages on a particular computer.

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 received or sent.
  • dwErrors
    The number of errors received or sent.
  • dwDestUnreachs
    The number of destination-unreachable messages received or sent. A destination-unreachable message is sent to the originating computer when a datagram fails to reach its intended destination.
  • dwTimeExcds
    The number of time-to-live (TTL) exceeded messages received or sent. A time-to-live exceeded message is sent to the originating computer 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 received or sent. A parameter problem message is sent to the originating computer when a router or host detects an error in a datagram's IP header.
  • dwSrcQuenchs
    The number of source quench messages received or sent. A source quench request is sent to a computer to request that it reduce its rate of packet transmission.
  • dwRedirects
    The number of redirect messages received or sent. A redirect message is sent to the originating computer when a better route is discovered for a datagram sent by that computer.
  • dwEchos
    The number of echo requests received or sent. An echo request causes the receiving computer to send an echo reply message back to the originating computer.
  • dwEchoReps
    The number of echo replies received or sent. A computer 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 computer to send a time-stamp reply back to the originating computer.
  • dwTimestampReps
    The number of time-stamp replies received or sent. A computer 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 computer 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 computer 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 computer. 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.

Requirements

Header iprtrmib.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IP Helper Structures
MIB_ICMP
MIBICMPINFO