Home
last modified time | relevance | path

Searched refs:mib2_counters (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/src/include/lwip/
Dsnmp.h105 #define MIB2_STATS_NETIF_INC(n, x) do { ++(n)->mib2_counters.x; } while(0)
110 #define MIB2_STATS_NETIF_ADD(n, x, val) do { (n)->mib2_counters.x += (val); } while(0)
123 (netif)->mib2_counters.ifinoctets = 0; \
124 (netif)->mib2_counters.ifinucastpkts = 0; \
125 (netif)->mib2_counters.ifinnucastpkts = 0; \
126 (netif)->mib2_counters.ifindiscards = 0; \
127 (netif)->mib2_counters.ifinerrors = 0; \
128 (netif)->mib2_counters.ifinunknownprotos = 0; \
129 (netif)->mib2_counters.ifoutoctets = 0; \
130 (netif)->mib2_counters.ifoutucastpkts = 0; \
[all …]
Dnetif.h370 struct stats_mib2_netif_ctrs mib2_counters; member
/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_interfaces.c214 *value_u32 = netif->mib2_counters.ifinoctets; in interfaces_Table_get_value()
218 *value_u32 = netif->mib2_counters.ifinucastpkts; in interfaces_Table_get_value()
222 *value_u32 = netif->mib2_counters.ifinnucastpkts; in interfaces_Table_get_value()
226 *value_u32 = netif->mib2_counters.ifindiscards; in interfaces_Table_get_value()
230 *value_u32 = netif->mib2_counters.ifinerrors; in interfaces_Table_get_value()
234 *value_u32 = netif->mib2_counters.ifinunknownprotos; in interfaces_Table_get_value()
238 *value_u32 = netif->mib2_counters.ifoutoctets; in interfaces_Table_get_value()
242 *value_u32 = netif->mib2_counters.ifoutucastpkts; in interfaces_Table_get_value()
246 *value_u32 = netif->mib2_counters.ifoutnucastpkts; in interfaces_Table_get_value()
250 *value_u32 = netif->mib2_counters.ifoutdiscards; in interfaces_Table_get_value()
[all …]