Lines Matching defs:community
30 char *community;
61 if (strcmp(s1->community, s2->community))
96 printf("%s ", snmpv2->community);
134 ctx->community = str;
215 if (v2->community)
216 free(v2->community);
230 return sendtrap_v2_0(v2->fd, v2->community,
299 maketrap_v2(community, buffer, bufsize, msg, msglen)
300 char *community;
316 if (community == NULL || *community == '\0')
317 community = def_community;
318 basesize += strlen(community) + msglen;
337 *s++ = strlen(community); /* length of "public" */
338 bcopy(community, s, s[-1]);
443 sendtrap_v2_0(fd, community, msg, msglen)
445 char *community, *msg;
452 n = maketrap_v2(community, buffer, sizeof(buffer),