Home
last modified time | relevance | path

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

/src/contrib/bsnmp/tests/
H A Dsnmp_parse_server.cc33 REQUIRE(sc.write_community == "private"s);
47 REQUIRE(sc.write_community == "private"s);
56 REQUIRE(sc.write_community == "private"s);
65 REQUIRE(sc.write_community == "private"s);
74 REQUIRE(sc.write_community == "private"s);
83 REQUIRE(sc.write_community == "private"s);
99 REQUIRE(sc.write_community == "private"s);
109 REQUIRE(sc.write_community == "private"s);
119 REQUIRE(sc.write_community == "private"s);
160 REQUIRE(sc.write_community == "private"s);
[all …]
/src/contrib/bsnmp/lib/
H A Dsnmpclient.h81 char write_community[SNMP_COMMUNITY_MAXLEN + 1]; member
H A Dsnmpclient.c863 strcpy(c->write_community, "private"); in snmp_client_init()
1082 strlcpy(snmp_client.write_community, writecomm, in snmp_open()
1083 sizeof(snmp_client.write_community)); in snmp_open()
1166 strlcpy(pdu->community, snmp_client.write_community, in snmp_pdu_create()
2280 strncpy(sc->write_community, comm[0], comm[1] - comm[0]); in snmp_parse_server()
2281 sc->write_community[comm[1] - comm[0]] = '\0'; in snmp_parse_server()
2292 printf("comm: '%s'/'%s'\n", sc->read_community, sc->write_community); in snmp_parse_server()