Home
last modified time | relevance | path

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

/lib/liblwip/src/core/snmp/
Dmsg_in.c193 struct snmp_varbind *vb; in snmp_msg_get_event() local
199 vb = (struct snmp_varbind *)memp_malloc(MEMP_SNMP_VARBIND); in snmp_msg_get_event()
200 if (vb != NULL) in snmp_msg_get_event()
202 vb->next = NULL; in snmp_msg_get_event()
203 vb->prev = NULL; in snmp_msg_get_event()
206 vb->ident = msg_ps->vb_ptr->ident; in snmp_msg_get_event()
207 vb->ident_len = msg_ps->vb_ptr->ident_len; in snmp_msg_get_event()
212 vb->value_type = msg_ps->ext_object_def.asn_type; in snmp_msg_get_event()
214 vb->value_len = (u8_t)msg_ps->ext_object_def.v_len; in snmp_msg_get_event()
215 if (vb->value_len > 0) in snmp_msg_get_event()
[all …]
Dmsg_out.c416 struct snmp_varbind *vb; in snmp_varbind_list_sum() local
422 vb = root->tail; in snmp_varbind_list_sum()
423 while ( vb != NULL ) in snmp_varbind_list_sum()
426 switch (vb->value_type) in snmp_varbind_list_sum()
429 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum()
430 snmp_asn1_enc_s32t_cnt(*sint_ptr, &vb->vlen); in snmp_varbind_list_sum()
435 uint_ptr = (u32_t*)vb->value; in snmp_varbind_list_sum()
436 snmp_asn1_enc_u32t_cnt(*uint_ptr, &vb->vlen); in snmp_varbind_list_sum()
442 vb->vlen = vb->value_len; in snmp_varbind_list_sum()
445 sint_ptr = (s32_t*)vb->value; in snmp_varbind_list_sum()
[all …]
/lib/liblwip/src/include/lwip/
Dsnmp_msg.h297 void snmp_varbind_free(struct snmp_varbind *vb);
299 void snmp_varbind_tail_add(struct snmp_varbind_root *root, struct snmp_varbind *vb);