/freebsd-11-stable/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); 136 ctx->community = str; 217 if (v2->community) 218 free(v2->community); 232 return sendtrap_v2_0(v2->fd, v2->community, 301 maketrap_v2(community, buffer, bufsize, msg, msglen) 302 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-11-stable/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; 235 /* disable community table */
|
H A D | action.c | 260 if (community != COMM_INITIALIZE) 265 if (community != COMM_INITIALIZE) 697 if (community != COMM_INITIALIZE) 748 * The community table 755 struct community *c; 761 if ((community != COMM_INITIALIZE && snmpd.comm_dis) || 768 if ((community != COMM_INITIALIZE && snmpd.comm_dis) || 774 if (community != COMM_INITIALIZE && snmpd.comm_dis) 796 /* create new community and use user sepcified index */ 918 community ! [all...] |
H A D | main.c | 150 /* community value generator */ 169 /* current community */ 170 u_int community; variable 171 static struct community *comm; 390 if ((uname = comm_string(community)) == NULL) 396 if ((uname = comm_string(community)) == NULL) 478 * SNMP input. Start: decode the PDU, find the user or community. 608 * Look, whether we know the community or user 614 strcmp(comm->string, pdu->community) == 0) 625 community [all...] |
H A D | trap.c | 425 strlcpy(pdu->community, com, sizeof(pdu->community)); 442 strlcpy(pdu->community, com, sizeof(pdu->community));
|
H A D | snmpmod.h | 242 /* drop because of bad community */ 244 /* drop because of bad community use */ 264 /* unknown community */ 337 struct community *comm_define_ordered(u_int priv, const char *descr, 341 /* community for current packet */ 342 extern u_int community; 583 /* decode PDU and find community */
|
H A D | trans_udp.c | 193 if (community != COMM_INITIALIZE &&
|
H A D | trans_lsock.c | 190 if (community != COMM_INITIALIZE &&
|
H A D | config.c | 1318 community = COMM_INITIALIZE;
|
/freebsd-11-stable/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-11-stable/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 | 539 if (asn_get_octetstring(b, (u_char *)pdu->community, 541 snmp_error("cannot decode community"); 544 pdu->community[octs_len] = '\0'; 804 if (asn_put_octetstring(b, (u_char *)pdu->community, 805 strlen(pdu->community)) != ASN_ERR_OK) 1126 snmp_printf("%s %s '%s'", types[pdu->type], vers, pdu->community); 1144 snmp_printf("%s %s '%s'", types[pdu->type], vers, pdu->community);
|
H A D | snmpclient.c | 1060 /* copy community strings */ 1148 strlcpy(pdu->community, snmp_client.write_community, 1149 sizeof(pdu->community)); 1151 strlcpy(pdu->community, snmp_client.read_community, 1152 sizeof(pdu->community)); 1872 * [trans::][community@][server][:port] 1917 seterr(sc, "community string too long");
|
H A D | snmpagent.c | 172 strcpy(resp->community, pdu->community);
|
/freebsd-11-stable/contrib/bsnmp/snmp_target/ |
H A D | target_snmp.c | 154 if (community != COMM_INITIALIZE && 238 if (community != COMM_INITIALIZE) 364 if (community != COMM_INITIALIZE && 437 if (community != COMM_INITIALIZE) 546 if (community != COMM_INITIALIZE && 585 if (community != COMM_INITIALIZE)
|
/freebsd-11-stable/contrib/bsnmp/snmp_usm/ |
H A D | usm_snmp.c | 176 if (community != COMM_INITIALIZE && 194 if (community != COMM_INITIALIZE) 311 if (community != COMM_INITIALIZE)
|
/freebsd-11-stable/usr.sbin/bsnmpd/bsnmpd/ |
H A D | Makefile | 45 MLINKS+= snmpmod.3 community.3
|
/freebsd-11-stable/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 1527 if (community != COMM_INITIALIZE) 1537 if (community != COMM_INITIALIZE)
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_netgraph/ |
H A D | snmp_netgraph.c | 1018 if (community != COMM_INITIALIZE)
|