Searched refs:sub_id (Results 1 – 3 of 3) sorted by relevance
144 s32_t sub_id; in snmp_asn1_enc_oid_cnt() local158 sub_id = *ident; in snmp_asn1_enc_oid_cnt()160 sub_id >>= 7; in snmp_asn1_enc_oid_cnt()162 while(sub_id > 0) in snmp_asn1_enc_oid_cnt()164 sub_id >>= 7; in snmp_asn1_enc_oid_cnt()490 s32_t sub_id; in snmp_asn1_enc_oid() local494 sub_id = *ident; in snmp_asn1_enc_oid()501 code = (u8_t)(sub_id >> shift); in snmp_asn1_enc_oid()523 *msg_ptr = (u8_t)sub_id & 0x7F; in snmp_asn1_enc_oid()
510 s32_t sub_id = 0; in snmp_asn1_dec_oid() local515 sub_id = (sub_id << 7) + (*msg_ptr & ~0x80); in snmp_asn1_dec_oid()535 sub_id = (sub_id << 7) + *msg_ptr; in snmp_asn1_dec_oid()536 *oid_ptr = sub_id; in snmp_asn1_dec_oid()
213 s32_t (*ident_cmp)(void* addr_inf, u8_t level, u16_t idx, s32_t sub_id);214 void (*get_objid)(void* addr_inf, u8_t level, u16_t idx, s32_t *sub_id);