Searched refs:snmp_client (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/contrib/bsnmp/lib/
H A Dsnmpclient.c68 struct snmp_client snmp_client; variable in typeref:struct:snmp_client
125 seterr(struct snmp_client *sc, const char *fmt, ...)
196 seterr(&snmp_client, "no memory for table entry");
200 seterr(&snmp_client, "no memory for table entry");
214 seterr(&snmp_client, "bad index: need integer");
218 seterr(&snmp_client,
228 seterr(&snmp_client,
234 seterr(&snmp_client,
239 seterr(&snmp_client,
[all...]
H A Dsnmpclient.h71 struct snmp_client { struct
116 extern struct snmp_client snmp_client;
118 /* initizialies a snmp_client structure */
119 void snmp_client_init(struct snmp_client *);
122 int snmp_client_set_host(struct snmp_client *, const char *);
123 int snmp_client_set_port(struct snmp_client *, const char *);
199 int snmp_parse_server(struct snmp_client *, const char *);
/freebsd-11-stable/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c134 snmp_client_init(&snmp_client);
147 snmp_client.user.auth_proto = SNMP_AUTH_HMAC_MD5;
149 snmp_client.user.auth_proto = SNMP_AUTH_HMAC_SHA;
157 snmp_client.user.priv_proto = SNMP_PRIV_DES;
159 snmp_client.user.priv_proto = SNMP_PRIV_AES;
165 if ((slen = strlen(str)) > sizeof(snmp_client.user.sec_name)) {
170 strlcpy(snmp_client.user.sec_name, str,
171 sizeof(snmp_client.user.sec_name));
172 snmp_client.version = SNMP_V3;
481 * snmp_client structur
[all...]
/freebsd-11-stable/sbin/atm/atmconfig/
H A Dmain.c470 snmp_client.trans = SNMP_TRANS_UDP;
472 snmp_client.trans = SNMP_TRANS_LOC_STREAM;
474 snmp_client.trans = SNMP_TRANS_LOC_DGRAM;
495 strncpy(snmp_client.read_community, s, p - s);
496 snmp_client.read_community[p - s] = '\0';
497 strncpy(snmp_client.write_community, s, p - s);
498 snmp_client.write_community[p - s] = '\0';
515 snmp_client_set_host(&snmp_client, s);
518 snmp_client_set_port(&snmp_client, p + 1);
520 snmp_client_set_host(&snmp_client,
[all...]
H A Datmconfig_device.c309 errx(1, "AtmHW table: %s", snmp_client.error);
383 errx(1, "No response from '%s': %s", snmp_client.chost,
384 snmp_client.error);
416 errx(1, "AtmIf table: %s", snmp_client.error);
/freebsd-11-stable/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c1225 if (program == BSNMPGET && snmp_client.version == SNMP_V1 &&
1249 if (snmp_client.version == SNMP_V3 && snmp_client.engine.engine_len == 0)
1263 if (snmp_client.version == SNMP_V3 && ISSET_LOCALKEY(&snmptoolctx) &&
1265 if (snmp_passwd_to_keys(&snmp_client.user,
1267 snmp_get_local_keys(&snmp_client.user,
1268 snmp_client.engine.engine_id,
1269 snmp_client.engine.engine_len) != SNMP_CODE_OK) {
/freebsd-11-stable/lib/libbsnmp/libbsnmp/
H A DMakefile78 MLINKS+= bsnmpclient.3 snmp_client.3

Completed in 183 milliseconds