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

/freebsd-13-stable/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
[all...]
/freebsd-13-stable/contrib/bsnmp/lib/
H A Dsnmpclient.h81 char write_community[SNMP_COMMUNITY_MAXLEN + 1]; member in struct:snmp_client
H A Dsnmpclient.c863 strcpy(c->write_community, "private");
1072 strlcpy(snmp_client.write_community, writecomm,
1073 sizeof(snmp_client.write_community));
1156 strlcpy(pdu->community, snmp_client.write_community,
2149 * write_community fields on success and the error field on errors.
2281 strncpy(sc->write_community, comm[0], comm[1] - comm[0]);
2282 sc->write_community[comm[1] - comm[0]] = '\0';
2293 printf("comm: '%s'/'%s'\n", sc->read_community, sc->write_community);

Completed in 164 milliseconds