Searched refs:varbind (Results 1 – 3 of 3) sorted by relevance
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/snmp/ |
A D | snmp_msg.c | 1190 snmp_asn1_enc_oid_cnt(varbind->oid.id, varbind->oid.len, &len->oid_value_len); in snmp_varbind_length() 1193 if (varbind->value_len == 0) { in snmp_varbind_length() 1198 switch (varbind->type) { in snmp_varbind_length() 1219 if (varbind->value_len != 0) { in snmp_varbind_length() 1228 … snmp_asn1_enc_oid_cnt((u32_t*) varbind->value, varbind->value_len >> 2, &len->value_value_len); in snmp_varbind_length() 1278 OVB_BUILD_EXEC(snmp_asn1_enc_oid(pbuf_stream, varbind->oid.id, varbind->oid.len)); in snmp_append_outbound_varbind() 1288 switch (varbind->type) { in snmp_append_outbound_varbind() 1609 varbind->type = tlv.type; in snmp_vb_enumerator_get_next() 1612 if (varbind->value != NULL) { in snmp_vb_enumerator_get_next() 1613 switch (varbind->type) { in snmp_vb_enumerator_get_next() [all …]
|
A D | snmp_traps.c | 273 struct snmp_varbind *varbind; in snmp_trap_varbind_sum() local 278 varbind = varbinds; in snmp_trap_varbind_sum() 279 while (varbind != NULL) { in snmp_trap_varbind_sum() 282 if (snmp_varbind_length(varbind, &len) == ERR_OK) { in snmp_trap_varbind_sum() 286 varbind = varbind->next; in snmp_trap_varbind_sum() 364 struct snmp_varbind *varbind; in snmp_trap_varbind_enc() local 366 varbind = varbinds; in snmp_trap_varbind_enc() 371 while (varbind != NULL) { in snmp_trap_varbind_enc() 372 snmp_append_outbound_varbind(pbuf_stream, varbind); in snmp_trap_varbind_enc() 374 varbind = varbind->next; in snmp_trap_varbind_enc()
|
A D | snmp_msg.h | 90 …p_vb_enumerator_get_next(struct snmp_varbind_enumerator* enumerator, struct snmp_varbind* varbind); 185 err_t snmp_varbind_length(struct snmp_varbind *varbind, struct snmp_varbind_len *len); 186 …t snmp_append_outbound_varbind(struct snmp_pbuf_stream *pbuf_stream, struct snmp_varbind* varbind);
|
Completed in 8 milliseconds