Searched refs:comlen (Results 1 – 1 of 1) sorted by relevance
72 u16_t comlen; member354 trap->comlen = (u16_t)LWIP_MIN(strlen(snmp_community_trap), 0xFFFF); in snmp_trap_header_sum()355 snmp_asn1_enc_length_cnt(trap->comlen, &lenlen); in snmp_trap_header_sum()356 tot_len += 1 + lenlen + trap->comlen; in snmp_trap_header_sum()408 SNMP_ASN1_SET_TLV_PARAMS(tlv, SNMP_ASN1_TYPE_OCTET_STRING, 0, trap->comlen); in snmp_trap_header_enc()410 BUILD_EXEC( snmp_asn1_enc_raw(pbuf_stream, (const u8_t *)snmp_community_trap, trap->comlen) ); in snmp_trap_header_enc()