Searched refs:instance_oid (Results 1 – 7 of 7) sorted by relevance
/third_party/lwip/src/apps/snmp/ |
D | snmp_table.c | 56 if ((instance->instance_oid.len >= 3) && (instance->instance_oid.id[0] == 1)) { in snmp_table_get_instance() 61 if (col_def->index == instance->instance_oid.id[1]) { in snmp_table_get_instance() 78 &(instance->instance_oid.id[1]), in snmp_table_get_instance() 79 &(instance->instance_oid.id[2]), in snmp_table_get_instance() 80 instance->instance_oid.len - 2, in snmp_table_get_instance() 100 if ((instance->instance_oid.len > 0) && (instance->instance_oid.id[0] > 1)) { in snmp_table_get_next_instance() 103 if (instance->instance_oid.len > 1) { in snmp_table_get_next_instance() 104 column = instance->instance_oid.id[1]; in snmp_table_get_next_instance() 106 if (instance->instance_oid.len > 2) { in snmp_table_get_next_instance() 107 snmp_oid_assign(&row_oid, &(instance->instance_oid.id[2]), instance->instance_oid.len - 2); in snmp_table_get_next_instance() [all …]
|
D | snmp_scalar.c | 58 if ((instance->instance_oid.len != 1) || (instance->instance_oid.id[0] != 0)) { in snmp_scalar_get_instance() 74 if (instance->instance_oid.len == 0) { in snmp_scalar_get_next_instance() 75 instance->instance_oid.len = 1; in snmp_scalar_get_next_instance() 76 instance->instance_oid.id[0] = 0; in snmp_scalar_get_next_instance() 91 if ((instance->instance_oid.len == 2) && (instance->instance_oid.id[1] == 0)) { in snmp_scalar_array_get_instance() 97 if (array_node_def->oid == instance->instance_oid.id[0]) { in snmp_scalar_array_get_instance() 130 if ((instance->instance_oid.len == 0) && (array_node->array_node_count > 0)) { in snmp_scalar_array_get_next_instance() 143 } else if (instance->instance_oid.len >= 1) { in snmp_scalar_array_get_next_instance() 144 if (instance->instance_oid.len == 1) { in snmp_scalar_array_get_next_instance() 148 if (array_node_def->oid == instance->instance_oid.id[0]) { in snmp_scalar_array_get_next_instance() [all …]
|
D | snmp_threadsync.c | 186 …snmp_oid_assign(&call_data->proxy_instance.instance_oid, instance->instance_oid.id, instance->inst… in do_sync() 202 …snmp_oid_assign(&instance->instance_oid, call_data->proxy_instance.instance_oid.id, call_data->pro… in do_sync()
|
D | snmp_core.c | 787 …snmp_oid_assign(&node_instance->instance_oid, oid + (oid_len - oid_instance_len), oid_instance_len… in snmp_get_node_instance_from_oid() 841 …snmp_oid_assign(&node_instance->instance_oid, start_oid + (start_oid_len - oid_instance_len), oid_… in snmp_get_next_node_instance_from_oid() 845 node_instance->instance_oid.len = 0; in snmp_get_next_node_instance_from_oid() 882 … snmp_oid_append(node_oid, node_instance->instance_oid.id, node_instance->instance_oid.len); in snmp_get_next_node_instance_from_oid() 900 …b_tree_resolve_next(mib, node_oid->id, node_oid->len, &node_instance->instance_oid); /* misuse nod… in snmp_get_next_node_instance_from_oid() 903 … snmp_oid_assign(node_oid, node_instance->instance_oid.id, node_instance->instance_oid.len); in snmp_get_next_node_instance_from_oid() 904 node_instance->instance_oid.len = 0; in snmp_get_next_node_instance_from_oid()
|
D | snmp_mib2_interfaces.c | 164 switch (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id)) { in interfaces_Table_get_value() 282 LWIP_ASSERT("Invalid column", (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id) == 7)); in interfaces_Table_set_test() 300 LWIP_ASSERT("Invalid column", (SNMP_TABLE_GET_COLUMN_FROM_OID(instance->instance_oid.id) == 7)); in interfaces_Table_set_value()
|
D | snmp_snmpv2_usm.c | 283 switch (SNMP_TABLE_GET_COLUMN_FROM_OID(cell_instance->instance_oid.id)) { in usmusertable_get_value() 325 …value(): unknown id: %"S32_F"\n", SNMP_TABLE_GET_COLUMN_FROM_OID(cell_instance->instance_oid.id))); in usmusertable_get_value()
|
/third_party/lwip/src/include/lwip/apps/ |
D | snmp_core.h | 202 struct snmp_obj_id instance_oid; member
|