IPSNMPInfo structure (tcpioctl.h)

[This structure may be altered or unavailable in future versions of Windows.]

Implements part of the Management Information Base (MIB-II) information group for the Internet Protocol (IP) as specified in the Internet Engineering Task Force (IETF) Request for Comments (RFC) 2011.


typedef struct IPSNMPInfo {
  ulong ipsi_forwarding;
  ulong ipsi_defaultttl;
  ulong ipsi_inreceives;
  ulong ipsi_inhdrerrors;
  ulong ipsi_inaddrerrors;
  ulong ipsi_forwdatagrams;
  ulong ipsi_inunknownprotos;
  ulong ipsi_indiscards;
  ulong ipsi_indelivers;
  ulong ipsi_outrequests;
  ulong ipsi_routingdiscards;
  ulong ipsi_outdiscards;
  ulong ipsi_outnoroutes;
  ulong ipsi_reasmtimeout;
  ulong ipsi_reasmreqds;
  ulong ipsi_reasmoks;
  ulong ipsi_reasmfails;
  ulong ipsi_fragoks;
  ulong ipsi_fragfails;
  ulong ipsi_fragcreates;
  ulong ipsi_numif;
  ulong ipsi_numaddr;
  ulong ipsi_numroutes;



Indicates whether this entity is acting as an IP router that forwards datagrams not addressed to it. IP routers forward datagrams but IP hosts do not, except for datagrams source-routed through the host.


The default value for the Time-To-Live (TTL) field of the IP header of datagrams that originate at this entity, inserted whenever the transport layer protocol does not supply a TTL value.


The total number of input datagrams received from interfaces by this entity, including those received in error.


The number of input datagrams discarded because of errors in their IP headers. Such errors include bad checksums, version-number mismatch, other format errors, time-to-live exceeded and errors discovered in processing the IP options, but not including invalid destination addresses.


The number of input datagrams discarded because the IP address in the destination field of their IP header was not valid for this entity. This includes invalid addresses such as, addresses of unsupported Classes such as Class E, and, for entities that are not IP router datagrams, includes all addresses that are not local.


The number of input datagrams for which this entity was not their final IP destination, so that an attempt was made to forward them. In entities that do not act as IP routers, this counter includes only those packets that are successfully source-routed through this entity.


The number of locally-addressed datagrams received successfully but discarded because of an unknown or unsupported protocol.


The number of input IP datagrams that contained nothing to prevent their continued processing, but were discarded for run-time reasons, such as lack of available memory or other resources. Note that this counter does not include any datagrams discarded while awaiting reassembly.


The total number of input datagrams successfully delivered to IP user protocols, including ICMP.


The total number of IP datagrams that local IP user protocols, including ICMP, supplied to IP in requests for transmission. Note that this counter does not include any datagrams counted in the ipsi_forwdatagrams member.


The number of valid routing entries that were discarded for reasons such as the need to free up memory.


The number of output IP datagrams for which no problem was encountered to prevent their transmission, but that were discarded for run-time reasons such as lack of memory or other resources. Note that this counter includes datagrams also counted in the ipsi_forwdatagrams member if any such packets were discarded in this way.


The number of IP datagrams discarded because no route could be found to transmit them to their destination. This value includes packets also counted in the ipsi_forwdatagrams member that cannot be routed, and datagrams that a host cannot route because its default routers are all down.


The maximum number of seconds that this entity holds received fragments that are awaiting reassembly before discarding them.


The number of IP fragments received at this entity that needed to be reassembled.


The number of IP datagrams that have been successfully reassembled at this entity.


The number of reassembly failures of any sort detected by the IP reassembly algorithm. Note that this is not necessarily a count of discarded IP fragments, because some algorithms such as that described in RFC 815 do not keep track of the number of fragments being combined.


The number of IP datagrams that have been successfully fragmented at this entity.


The number of IP datagrams that have been discarded because they needed to be fragmented at this entity but could not be, because their "Don't Fragment" flag was set or for some other reason.


The number of IP datagram fragments that have been generated as a result of fragmentation at this entity.


The number of interfaces on which this entity listens.


The number of IP addresses for which this entity listens.


The number of routes in this entity's route table.


Header tcpioctl.h

See also


Management Information Base Reference