Searched refs:length_len (Results 1 – 3 of 3) sorted by relevance
75 u8_t length_len; /* indicates how many bytes are required to encode the 'value_len' field */ member78 #define SNMP_ASN1_TLV_HDR_LENGTH(tlv) ((tlv).type_len + (tlv).length_len)79 #define SNMP_ASN1_TLV_LENGTH(tlv) ((tlv).type_len + (tlv).length_len + (tlv).value_len)80 …len_, value_len_) do { (tlv).type = (type_); (tlv).type_len = 0; (tlv).length_len = (length_len_);…
85 if (tlv->length_len > 0) { in snmp_ans1_enc_tlv()86 if (tlv->length_len < length_bytes_required) { in snmp_ans1_enc_tlv()91 length_bytes_required = tlv->length_len; in snmp_ans1_enc_tlv()93 tlv->length_len = length_bytes_required; in snmp_ans1_enc_tlv()441 tlv->length_len = 1; in snmp_asn1_dec_tlv()445 tlv->length_len = length_bytes + 1; /* this byte + defined number of length bytes following */ in snmp_asn1_dec_tlv()
1637 …(enumerator->pbuf_stream), tlv.value_len, (u32_t*)varbind->value, &tlv.length_len, SNMP_MAX_OBJ_ID… in snmp_vb_enumerator_get_next()1642 varbind->value_len = tlv.length_len * sizeof(u32_t); in snmp_vb_enumerator_get_next()
Completed in 6 milliseconds