次の方法で共有


2.2.1.2.27 MIBICMPSTATS

The MIBICMPSTATS structure contains statistics for the ICMP messages on a specific computer. This structure is used in MIBICMPINFO (section 2.2.1.2.26).

 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;

dwMsgs: The number of ICMP messages received or sent.

dwErrors: The number of errors that occurred while sending or receiving ICMP messages.

dwDestUnreachs: The number of destination-unreachable messages received or sent. A destination-unreachable message is sent to the originating computer when the destination address in a datagram cannot be reached.

dwTimeExcds: The number of TTL-exceeded messages received or sent. A TTL-exceeded message is sent to the originating computer when a datagram is discarded because the number of routers it has passed through exceeds its TTL 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 having received 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.