MIB_IPSTATS (Windows CE 5.0)
This structure stores information about the IP protocol running on a particular computer.
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 computer. - 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 amount of 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 computer. - dwNumRoutes
The number of routes in the IP routing table.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Iprtrmib.h.
See Also
Send Feedback on this topic to the authors