Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/apps/snmp/
H A Dsnmp_msg.c1498 snmp_asn1_enc_oid_cnt(varbind->oid.id, varbind->oid.len, &len->oid_value_len); in snmp_varbind_length()
1501 if (varbind->value_len == 0) { in snmp_varbind_length()
1506 switch (varbind->type) { in snmp_varbind_length()
1527 if (varbind->value_len != 0) { in snmp_varbind_length()
1536 … snmp_asn1_enc_oid_cnt((u32_t *) varbind->value, varbind->value_len >> 2, &len->value_value_len); in snmp_varbind_length()
1588 OVB_BUILD_EXEC(snmp_asn1_enc_oid(pbuf_stream, varbind->oid.id, varbind->oid.len)); in snmp_append_outbound_varbind()
1598 switch (varbind->type) { in snmp_append_outbound_varbind()
1920 varbind->type = tlv.type; in snmp_vb_enumerator_get_next()
1923 if (varbind->value != NULL) { in snmp_vb_enumerator_get_next()
1924 switch (varbind->type) { in snmp_vb_enumerator_get_next()
[all …]
H A Dsnmp_traps.c533 struct snmp_varbind *varbind; in snmp_trap_varbind_sum() local
538 varbind = varbinds; in snmp_trap_varbind_sum()
539 while (varbind != NULL) { in snmp_trap_varbind_sum()
542 if (snmp_varbind_length(varbind, &len) == ERR_OK) { in snmp_trap_varbind_sum()
546 varbind = varbind->next; in snmp_trap_varbind_sum()
680 struct snmp_varbind *varbind; in snmp_trap_varbind_enc() local
682 varbind = varbinds; in snmp_trap_varbind_enc()
687 while (varbind != NULL) { in snmp_trap_varbind_enc()
688 BUILD_EXEC( snmp_append_outbound_varbind(pbuf_stream, varbind) ); in snmp_trap_varbind_enc()
690 varbind = varbind->next; in snmp_trap_varbind_enc()
H A Dsnmp_msg.h78 …p_vb_enumerator_get_next(struct snmp_varbind_enumerator *enumerator, struct snmp_varbind *varbind);
176 err_t snmp_varbind_length(struct snmp_varbind *varbind, struct snmp_varbind_len *len);
177 …t snmp_append_outbound_varbind(struct snmp_pbuf_stream *pbuf_stream, struct snmp_varbind *varbind);