Lines Matching defs:community
147 /* community value generator */
166 /* current community */
167 u_int community;
168 static struct community *comm;
393 if ((uname = comm_string(community)) == NULL)
399 if ((uname = comm_string(community)) == NULL)
481 * SNMP input. Start: decode the PDU, find the user or community.
611 * Look, whether we know the community or user
617 strcmp(comm->string, pdu->community) == 0)
628 community = comm->value;
1267 * to a proxy PDU with a wrong community */
1281 * If that is a module community and the module has a proxy function,
1339 * Check community
1343 (community != COMM_WRITE &&
1344 (pdu.type == SNMP_PDU_SET || community != COMM_READ)))) {
1800 community = COMM_INITIALIZE;
2214 * Create a new community
2220 struct community *c, *p;
2232 if ((c = malloc(sizeof(struct community))) == NULL) {
2276 struct community *p;
2290 struct community *p, *p1;
2548 if (community == COMM_INITIALIZE) {