Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/apps/
Dsnmp_opts.h173 #if !defined SNMP_MAX_COMMUNITY_STR_LEN || defined __DOXYGEN__
174 #define SNMP_MAX_COMMUNITY_STR_LEN LWIP_MAX(LWIP_MAX(sizeof(SNMP_COMMUNITY), sizeof(SNMP_COMMUNITY_… macro
/third_party/lwip/src/apps/snmp/
Dsnmp_msg.c181 LWIP_ASSERT("community string is too long!", strlen(community) <= SNMP_MAX_COMMUNITY_STR_LEN); in snmp_set_community()
220 LWIP_ASSERT("community string is too long!", strlen(community) <= SNMP_MAX_COMMUNITY_STR_LEN); in snmp_set_community_write()
236 LWIP_ASSERT("community string is too long!", strlen(community) <= SNMP_MAX_COMMUNITY_STR_LEN); in snmp_set_community_trap()
816 strncpy((char *)request->community, snmp_community, SNMP_MAX_COMMUNITY_STR_LEN); in snmp_parse_inbound_frame()
817 …request->community[SNMP_MAX_COMMUNITY_STR_LEN] = 0; /* ensure NULL termination (strncpy does NOT g… in snmp_parse_inbound_frame()
818 …request->community_strlen = (u16_t)strnlen((char *)request->community, SNMP_MAX_COMMUNITY_STR_LEN); in snmp_parse_inbound_frame()
1138 …stream, tlv.value_len, request->community, &request->community_strlen, SNMP_MAX_COMMUNITY_STR_LEN); in snmp_parse_inbound_frame()
1196 …strncmp(snmp_community_write, (const char *)request->community, SNMP_MAX_COMMUNITY_STR_LEN) != 0) { in snmp_parse_inbound_frame()
1203 … if (strncmp(snmp_community, (const char *)request->community, SNMP_MAX_COMMUNITY_STR_LEN) != 0) { in snmp_parse_inbound_frame()
Dsnmp_msg.h90 u8_t community[SNMP_MAX_COMMUNITY_STR_LEN + 1];