Rtos API example

Embed: (wiki syntax)

« Back to documentation index

stats_mib2_netif_ctrs Struct Reference

stats_mib2_netif_ctrs Struct Reference
[MIB2 statistics]

SNMP MIB2 interface stats. More...

#include <stats.h>

Data Fields

u32_t ifinoctets
 The total number of octets received on the interface, including framing characters.
u32_t ifinucastpkts
 The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were not addressed to a multicast or broadcast address at this sub-layer.
u32_t ifinnucastpkts
 The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast or broadcast address at this sub-layer.
u32_t ifindiscards
 The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
u32_t ifinerrors
 For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
u32_t ifinunknownprotos
 For packet-oriented interfaces, the number of packets received via the interface which were discarded because of an unknown or unsupported protocol.
u32_t ifoutoctets
 The total number of octets transmitted out of the interface, including framing characters.
u32_t ifoutucastpkts
 The total number of packets that higher-level protocols requested be transmitted, and which were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent.
u32_t ifoutnucastpkts
 The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent.
u32_t ifoutdiscards
 The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted.
u32_t ifouterrors
 For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors.

Detailed Description

SNMP MIB2 interface stats.

Definition at line 186 of file stats.h.


Field Documentation

u32_t ifindiscards

The number of inbound packets which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.

One possible reason for discarding such a packet could be to free up buffer space

Definition at line 198 of file stats.h.

u32_t ifinerrors

For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.

For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.

Definition at line 203 of file stats.h.

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were addressed to a multicast or broadcast address at this sub-layer.

Definition at line 194 of file stats.h.

u32_t ifinoctets

The total number of octets received on the interface, including framing characters.

Definition at line 188 of file stats.h.

The number of packets, delivered by this sub-layer to a higher (sub-)layer, which were not addressed to a multicast or broadcast address at this sub-layer.

Definition at line 191 of file stats.h.

For packet-oriented interfaces, the number of packets received via the interface which were discarded because of an unknown or unsupported protocol.

For character-oriented or fixed-length interfaces that support protocol multiplexing the number of transmission units received via the interface which were discarded because of an unknown or unsupported protocol. For any interface that does not support protocol multiplexing, this counter will always be 0

Definition at line 210 of file stats.h.

The number of outbound packets which were chosen to be discarded even though no errors had been detected to prevent their being transmitted.

One possible reason for discarding such a packet could be to free up buffer space.

Definition at line 224 of file stats.h.

u32_t ifouterrors

For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors.

For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors.

Definition at line 228 of file stats.h.

The total number of packets that higher-level protocols requested be transmitted, and which were addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent.

Definition at line 220 of file stats.h.

u32_t ifoutoctets

The total number of octets transmitted out of the interface, including framing characters.

Definition at line 212 of file stats.h.

The total number of packets that higher-level protocols requested be transmitted, and which were not addressed to a multicast or broadcast address at this sub-layer, including those that were discarded or not sent.

Definition at line 216 of file stats.h.