Searched refs:engineid_len (Results 1 – 2 of 2) sorted by relevance
/third_party/lwip/src/apps/snmp/ |
D | snmp_snmpv2_usm.c | 92 u8_t engineid_len; in usmusertable_get_instance() local 101 engineid_len = (u8_t)row_oid[0]; in usmusertable_get_instance() 104 if (engineid_len != eid_len) { in usmusertable_get_instance() 109 if (engineid_len > row_oid_len) { in usmusertable_get_instance() 115 …if (!snmp_oid_in_range(&row_oid[engineid_start], engineid_len, usmUserTable_oid_ranges, engineid_l… in usmusertable_get_instance() 119 snmp_engineid_to_oid(engineid, engineid_oid, engineid_len); in usmusertable_get_instance() 122 if (snmp_oid_equal(&row_oid[engineid_start], engineid_len, engineid_oid, engineid_len)) { in usmusertable_get_instance() 126 name_len = (u8_t)row_oid[engineid_start + engineid_len]; in usmusertable_get_instance() 127 name_start = engineid_start + engineid_len + 1; in usmusertable_get_instance() 134 if (1 + engineid_len + 1 + name_len != row_oid_len) { in usmusertable_get_instance() [all …]
|
D | snmp_snmpv2_framework.c | 46 u8_t engineid_len; in snmpengine_scalars_get_value() local 50 snmpv3_get_engine_id(&engineid, &engineid_len); in snmpengine_scalars_get_value() 51 MEMCPY(value, engineid, engineid_len); in snmpengine_scalars_get_value() 52 return engineid_len; in snmpengine_scalars_get_value()
|