/freebsd-10.1-release/contrib/ipfilter/lib/ |
H A D | save_v2trap.c | 30 char *community; member in struct:snmpv2_opts_s 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; [all...] |
H A D | save_v1trap.c | 27 char *community; member in struct:snmpv1_opts_s 57 if (strcmp(s1->community, s2->community)) 92 printf("%s ", snmpv1->community); 131 ctx->community = str; 212 if (v1->community) 213 free(v1->community); 227 return sendtrap_v1_0(v1->fd, v1->community, 299 maketrap_v1(community, buffer, bufsize, msg, msglen, ipaddr, when) 300 char *community; [all...] |
/freebsd-10.1-release/contrib/bsnmp/snmpd/ |
H A D | snmpd.h | 51 struct community { struct 52 struct lmodule *owner; /* who created the community */ 54 u_int value; /* value of this community */ 55 u_char * string; /* the community string */ 57 TAILQ_ENTRY(community) link; 62 extern TAILQ_HEAD(community_list, community) community_list; 234 /* disable community table */
|
H A D | action.c | 267 if (community != COMM_INITIALIZE) 272 if (community != COMM_INITIALIZE) 704 if (community != COMM_INITIALIZE) 755 * The community table 762 struct community *c; 767 if ((community != COMM_INITIALIZE && snmpd.comm_dis) || 774 if ((community != COMM_INITIALIZE && snmpd.comm_dis) || 780 if ((community != COMM_INITIALIZE && snmpd.comm_dis) || 879 community != COMM_INITIALIZE) 1077 if (community ! [all...] |
H A D | main.c | 147 /* community value generator */ 166 /* current community */ 167 u_int community; variable 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 [all...] |
H A D | trans_udp.c | 187 if (community != COMM_INITIALIZE &&
|
H A D | trap.c | 425 strcpy(pdu->community, com); 442 strcpy(pdu->community, com);
|
H A D | snmpmod.h | 242 /* drop because of bad community */ 244 /* drop because of bad community use */ 264 /* unknown community */ 339 /* community for current packet */ 340 extern u_int community; 581 /* decode PDU and find community */
|
H A D | trans_lsock.c | 189 if (community != COMM_INITIALIZE &&
|
H A D | config.c | 1316 community = COMM_INITIALIZE;
|
/freebsd-10.1-release/contrib/bsnmp/snmp_vacm/ |
H A D | vacm_snmp.c | 115 if (community != COMM_INITIALIZE) 163 if (community != COMM_INITIALIZE && 191 if (community != COMM_INITIALIZE) 285 if (acl != NULL && community != COMM_INITIALIZE && 342 if (community != COMM_INITIALIZE) 482 if (community != COMM_INITIALIZE && 526 if (community != COMM_INITIALIZE)
|
/freebsd-10.1-release/contrib/bsnmp/lib/ |
H A D | snmp.h | 150 char community[SNMP_COMMUNITY_MAXLEN + 1]; member in struct:snmp_pdu
|
H A D | snmp.c | 535 if (asn_get_octetstring(b, (u_char *)pdu->community, 537 snmp_error("cannot decode community"); 540 pdu->community[octs_len] = '\0'; 800 if (asn_put_octetstring(b, (u_char *)pdu->community, 801 strlen(pdu->community)) != ASN_ERR_OK) 1122 snmp_printf("%s %s '%s'", types[pdu->type], vers, pdu->community); 1140 snmp_printf("%s %s '%s'", types[pdu->type], vers, pdu->community);
|
H A D | snmpclient.c | 1055 /* copy community strings */ 1143 strlcpy(pdu->community, snmp_client.write_community, 1144 sizeof(pdu->community)); 1146 strlcpy(pdu->community, snmp_client.read_community, 1147 sizeof(pdu->community)); 1862 * [trans::][community@][server][:port] 1907 seterr(sc, "community string too long");
|
H A D | snmpagent.c | 172 strcpy(resp->community, pdu->community);
|
/freebsd-10.1-release/contrib/bsnmp/snmp_target/ |
H A D | target_snmp.c | 154 if (community != COMM_INITIALIZE && 238 if (community != COMM_INITIALIZE) 363 if (community != COMM_INITIALIZE && 436 if (community != COMM_INITIALIZE) 545 if (community != COMM_INITIALIZE && 584 if (community != COMM_INITIALIZE)
|
/freebsd-10.1-release/contrib/bsnmp/snmp_usm/ |
H A D | usm_snmp.c | 172 if (community != COMM_INITIALIZE && 190 if (community != COMM_INITIALIZE) 307 if (community != COMM_INITIALIZE)
|
/freebsd-10.1-release/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 1527 if (community != COMM_INITIALIZE) 1537 if (community != COMM_INITIALIZE)
|
/freebsd-10.1-release/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 1018 if (community != COMM_INITIALIZE)
|