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

/freebsd-13-stable/contrib/bsnmp/tests/
H A Dsnmp_parse_server.cc32 REQUIRE(sc.read_community == "public"s);
46 REQUIRE(sc.read_community == "public"s);
55 REQUIRE(sc.read_community == "public"s);
64 REQUIRE(sc.read_community == "public"s);
73 REQUIRE(sc.read_community == "public"s);
82 REQUIRE(sc.read_community == "public"s);
98 REQUIRE(sc.read_community == "public"s);
108 REQUIRE(sc.read_community == "public"s);
118 REQUIRE(sc.read_community == "public"s);
159 REQUIRE(sc.read_community
[all...]
/freebsd-13-stable/contrib/bsnmp/lib/
H A Dsnmpclient.h80 char read_community[SNMP_COMMUNITY_MAXLEN + 1]; member in struct:snmp_client
H A Dsnmpclient.c862 strcpy(c->read_community, "public");
1069 strlcpy(snmp_client.read_community, readcomm,
1070 sizeof(snmp_client.read_community));
1159 strlcpy(pdu->community, snmp_client.read_community,
2148 * The functions sets the chost, cport, trans, read_community and
2279 strncpy(sc->read_community, comm[0], comm[1] - comm[0]);
2280 sc->read_community[comm[1] - comm[0]] = '\0';
2293 printf("comm: '%s'/'%s'\n", sc->read_community, sc->write_community);

Completed in 93 milliseconds