Home
last modified time | relevance | path

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

/freebsd/contrib/bsnmp/lib/
H A Dsnmpclient.c74 struct snmp_client snmp_client; variable
131 seterr(struct snmp_client *sc, const char *fmt, ...) in seterr()
202 seterr(&snmp_client, "no memory for table entry"); in table_find()
206 seterr(&snmp_client, "no memory for table entry"); in table_find()
220 seterr(&snmp_client, "bad index: need integer"); in table_find()
224 seterr(&snmp_client, in table_find()
234 seterr(&snmp_client, in table_find()
240 seterr(&snmp_client, in table_find()
245 seterr(&snmp_client, in table_find()
251 seterr(&snmp_client, in table_find()
[all …]
H A Dsnmpclient.h72 struct snmp_client { struct
117 extern struct snmp_client snmp_client; argument
120 void snmp_client_init(struct snmp_client *);
123 int snmp_client_set_host(struct snmp_client *, const char *);
124 int snmp_client_set_port(struct snmp_client *, const char *);
200 int snmp_parse_server(struct snmp_client *, const char *);
/freebsd/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c132 snmp_client_init(&snmp_client); in snmptool_init()
145 snmp_client.user.auth_proto = SNMP_AUTH_HMAC_MD5; in snmptool_init()
147 snmp_client.user.auth_proto = SNMP_AUTH_HMAC_SHA; in snmptool_init()
155 snmp_client.user.priv_proto = SNMP_PRIV_DES; in snmptool_init()
157 snmp_client.user.priv_proto = SNMP_PRIV_AES; in snmptool_init()
163 if ((slen = strlen(str)) > sizeof(snmp_client.user.sec_name)) { in snmptool_init()
168 strlcpy(snmp_client.user.sec_name, str, in snmptool_init()
169 sizeof(snmp_client.user.sec_name)); in snmptool_init()
170 snmp_client.version = SNMP_V3; in snmptool_init()
505 snmp_client.user.auth_proto = in parse_authentication()
[all …]
/freebsd/contrib/bsnmp/tests/
H A Dsnmp_parse_server.cc15 try_parse(struct snmp_client *sc, const char *str) in try_parse()
25 struct snmp_client sc;
37 struct snmp_client sc;
88 struct snmp_client sc;
148 struct snmp_client sc;
205 struct snmp_client sc;
240 struct snmp_client sc;
306 struct snmp_client sc;
392 struct snmp_client sc;
447 struct snmp_client sc;
[all …]
/freebsd/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c1223 if (program == BSNMPGET && snmp_client.version == SNMP_V1 && in main()
1247 if (snmp_client.version == SNMP_V3 && snmp_client.engine.engine_len == 0) in main()
1261 if (snmp_client.version == SNMP_V3 && ISSET_LOCALKEY(&snmptoolctx) && in main()
1263 if (snmp_passwd_to_keys(&snmp_client.user, in main()
1265 snmp_get_local_keys(&snmp_client.user, in main()
1266 snmp_client.engine.engine_id, in main()
1267 snmp_client.engine.engine_len) != SNMP_CODE_OK) { in main()
/freebsd/lib/libbsnmp/libbsnmp/
H A DMakefile96 MLINKS+= bsnmpclient.3 snmp_client.3
/freebsd/tools/build/mk/
H A DOptionalObsoleteFiles.inc542 OLD_FILES+=usr/share/man/man3/snmp_client.3.gz