Searched refs:node_instance (Results 1 – 3 of 3) sorted by relevance
/third_party/lwip/src/apps/snmp/ |
D | snmp_core.c | 771 …et_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance *node_instance) in snmp_get_node_instance_from_oid() argument 786 node_instance->node = mn; in snmp_get_node_instance_from_oid() 787 …snmp_oid_assign(&node_instance->instance_oid, oid + (oid_len - oid_instance_len), oid_instance_len… in snmp_get_node_instance_from_oid() 792 node_instance); in snmp_get_node_instance_from_oid() 796 …if (((node_instance->access & SNMP_NODE_INSTANCE_ACCESS_READ) != 0) && (node_instance->get_value =… in snmp_get_node_instance_from_oid() 799 …if (((node_instance->access & SNMP_NODE_INSTANCE_ACCESS_WRITE) != 0) && (node_instance->set_value … in snmp_get_node_instance_from_oid() 811 …validate_node_instance_arg, struct snmp_obj_id *node_oid, struct snmp_node_instance *node_instance) in snmp_get_next_node_instance_from_oid() argument 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() 849 node_instance->node = mn; in snmp_get_next_node_instance_from_oid() [all …]
|
D | snmp_msg.c | 386 snmp_msg_getnext_validate_node_inst(struct snmp_node_instance *node_instance, void *validate_arg) in snmp_msg_getnext_validate_node_inst() argument 388 …if (((node_instance->access & SNMP_NODE_INSTANCE_ACCESS_READ) != SNMP_NODE_INSTANCE_ACCESS_READ) |… in snmp_msg_getnext_validate_node_inst() 393 …if ((node_instance->asn1_type == SNMP_ASN1_TYPE_COUNTER64) && (((struct snmp_request *)validate_ar… in snmp_msg_getnext_validate_node_inst() 406 struct snmp_node_instance node_instance; in snmp_process_varbind() local 407 memset(&node_instance, 0, sizeof(node_instance)); in snmp_process_varbind() 411 …->oid.id, vb->oid.len, snmp_msg_getnext_validate_node_inst, request, &result_oid, &node_instance); in snmp_process_varbind() 417 … request->error_status = snmp_get_node_instance_from_oid(vb->oid.id, vb->oid.len, &node_instance); in snmp_process_varbind() 421 request->error_status = snmp_msg_getnext_validate_node_inst(&node_instance, request); in snmp_process_varbind() 424 if (node_instance.release_instance != NULL) { in snmp_process_varbind() 425 node_instance.release_instance(&node_instance); in snmp_process_varbind() [all …]
|
D | snmp_core_priv.h | 74 …t_node_instance_from_oid(const u32_t *oid, u8_t oid_len, struct snmp_node_instance *node_instance); 75 …alidate_node_instance_arg, struct snmp_obj_id *node_oid, struct snmp_node_instance *node_instance);
|