Compartilhar via


MIB_IPSTATS (Compact 2013)

3/26/2014

This structure stores information about the IP protocol running on a particular device.

Syntax

typedef struct _MIB_IPSTATS {
  DWORD dwForwarding; 
  DWORD dwDefaultTTL; 
  DWORD dwInReceives; 
  DWORD dwInHdrErrors; 
  DWORD dwInAddrErrors; 
  DWORD dwForwDatagrams; 
  DWORD dwInUnknownProtos; 
  DWORD dwInDiscards; 
  DWORD dwInDelivers; 
  DWORD dwOutRequests; 
  DWORD dwRoutingDiscards; 
  DWORD dwOutDiscards; 
  DWORD dwOutNoRoutes; 
  DWORD dwReasmTimeout; 
  DWORD dwReasmReqds; 
  DWORD dwReasmOks; 
  DWORD dwReasmFails; 
  DWORD dwFragOks; 
  DWORD dwFragFails; 
  DWORD dwFragCreates; 
  DWORD dwNumIf; 
  DWORD dwNumAddr; 
  DWORD dwNumRoutes; 
} MIB_IPSTATS, *PMIB_IPSTATS;

Members

  • dwForwarding
    TRUE if IP forwarding is enabled.
  • dwDefaultTTL
    The default initial Time to Live (TTL) for datagrams originating on a particular device.
  • dwInReceives
    The number of datagrams received.
  • dwInHdrErrors
    The number of datagrams received that have header errors.
  • dwInAddrErrors
    The number of datagrams received that have address errors.
  • dwForwDatagrams
    The number of datagrams forwarded.
  • dwInUnknownProtos
    The number of datagrams received that have an unknown protocol.
  • dwInDiscards
    The number of received datagrams discarded.
  • dwInDelivers
    The number of received datagrams delivered.
  • dwOutRequests
    The number of outgoing datagrams that IP is requested to transmit. This number does not include forwarded datagrams.
  • dwRoutingDiscards
    The number of outgoing datagrams discarded.
  • dwOutDiscards
    The number of transmitted datagrams discarded.
  • dwOutNoRoutes
    The number of datagrams for which this computer did not have a route to the destination IP address. These datagrams were discarded.
  • dwReasmTimeout
    The time allowed for all pieces of a fragmented datagram to arrive. If all pieces do not arrive within this time, the datagram is discarded.
  • dwReasmReqds
    The number of datagrams requiring reassembly.
  • dwReasmOks
    The number of datagrams successfully reassembled.
  • dwReasmFails
    The number of datagrams that cannot be reassembled.
  • dwFragOks
    The number of datagrams that were fragmented successfully.
  • dwFragFails
    The number of datagrams that cannot be fragmented because the "do not fragment" bit in the IP header is set. These datagrams are discarded.
  • dwFragCreates
    The number of fragments created.
  • dwNumIf
    The number of interfaces.
  • dwNumAddr
    The number of IP addresses associated with this device.
  • dwNumRoutes
    The number of routes in the IP routing table.

Remarks

The header file organization has changed and the MIB_IPSTATS structure is defined in the Ipmib.h header file instead of in the Iprtrmib.h header file. Be aware 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,
ws2def.h,
ws2ipdef.h

See Also

Reference

MIB Structures
IP Helper Structures
GetIpStatistics
GetIpStatisticsEx
SetIpStatistics
SetIpStatisticsEx