Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/snmp/
Dsnmp_core.c223 static struct snmp_mib const *const *snmp_mibs = default_mibs; variable
241 snmp_mibs = mibs; in snmp_set_mibs()
697 LWIP_ASSERT("MIB array not initialized correctly", (snmp_mibs[i] != NULL)); in snmp_get_mib_from_oid()
698 …LWIP_ASSERT("MIB array not initialized correctly - base OID is NULL", (snmp_mibs[i]->base_oid != N… in snmp_get_mib_from_oid()
700 if (oid_len >= snmp_mibs[i]->base_oid_len) { in snmp_get_mib_from_oid()
701 l = snmp_mibs[i]->base_oid_len; in snmp_get_mib_from_oid()
702 list_oid = snmp_mibs[i]->base_oid; in snmp_get_mib_from_oid()
715 if ((l == 0) && (snmp_mibs[i]->base_oid_len > max_match_len)) { in snmp_get_mib_from_oid()
716 max_match_len = snmp_mibs[i]->base_oid_len; in snmp_get_mib_from_oid()
717 matched_mib = snmp_mibs[i]; in snmp_get_mib_from_oid()
[all …]