Lines Matching defs:target
524 * @param target Assignment target
529 snmp_oid_assign(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len)
533 target->len = oid_len;
536 MEMCPY(target->id, oid, oid_len * sizeof(u32_t));
542 * @param target Assignment target to prefix
547 snmp_oid_prefix(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len)
549 LWIP_ASSERT("target->len + oid_len <= LWIP_SNMP_OBJ_ID_LEN", (target->len + oid_len) <= SNMP_MAX_OBJ_ID_LEN);
554 for (i = target->len-1; i>=0; i--) {
555 target->id[i + oid_len] = target->id[i];
559 MEMCPY(target->id, oid, oid_len * sizeof(u32_t));
565 * @param target Assignmet target
572 snmp_oid_combine(struct snmp_obj_id* target, const u32_t *oid1, u8_t oid1_len, const u32_t *oid2, u8_t oid2_len)
574 snmp_oid_assign(target, oid1, oid1_len);
575 snmp_oid_append(target, oid2, oid2_len);
580 * @param target Assignment target to append to
585 snmp_oid_append(struct snmp_obj_id* target, const u32_t *oid, u8_t oid_len)
587 LWIP_ASSERT("offset + oid_len <= LWIP_SNMP_OBJ_ID_LEN", (target->len + oid_len) <= SNMP_MAX_OBJ_ID_LEN);
590 MEMCPY(&target->id[target->len], oid, oid_len * sizeof(u32_t));
591 target->len += oid_len;
813 /* resolve target MIB from passed OID */
828 /* resolve target node from MIB, skip to next MIB if no suitable node is found in current MIB */
927 /* else { we found out target node } */