Home
last modified time | relevance | path

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

/lib/liblwip/src/core/snmp/
Dmsg_out.c68 static u16_t snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len);
72 static u16_t snmp_trap_header_enc(struct snmp_msg_trap *m_trap, struct pbuf *p);
359 snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len) in snmp_trap_header_sum() argument
364 thl = &m_trap->thl; in snmp_trap_header_sum()
367 snmp_asn1_enc_u32t_cnt(m_trap->ts, &thl->tslen); in snmp_trap_header_sum()
371 snmp_asn1_enc_s32t_cnt(m_trap->spc_trap, &thl->strplen); in snmp_trap_header_sum()
375 snmp_asn1_enc_s32t_cnt(m_trap->gen_trap, &thl->gtrplen); in snmp_trap_header_sum()
383 snmp_asn1_enc_oid_cnt(m_trap->enterprise->len, &m_trap->enterprise->id[0], &thl->eidlen); in snmp_trap_header_sum()
537 snmp_trap_header_enc(struct snmp_msg_trap *m_trap, struct pbuf *p) in snmp_trap_header_enc() argument
544 snmp_asn1_enc_length(p, ofs, m_trap->thl.seqlen); in snmp_trap_header_enc()
[all …]