Home
last modified time | relevance | path

Searched refs:length_bytes_required (Results 1 – 1 of 1) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmp_asn1.c60 u8_t length_bytes_required; in snmp_ans1_enc_tlv() local
77 length_bytes_required = 1; in snmp_ans1_enc_tlv()
79 length_bytes_required = 2; in snmp_ans1_enc_tlv()
81 length_bytes_required = 3; 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()
96 if (length_bytes_required > 1) { in snmp_ans1_enc_tlv()
98 length_bytes_required--; in snmp_ans1_enc_tlv()
99 data = 0x80 | length_bytes_required; /* extended length definition, 1 length byte follows */ in snmp_ans1_enc_tlv()
[all …]