Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/bsnmp/lib/
H A Dsnmpclient.c74 struct snmp_client snmp_client; variable
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()
937 error = getaddrinfo(snmp_client.chost, snmp_client.cport, &hints, &res0); in open_client_udp()
939 seterr(&snmp_client, "%s: %s", snmp_client.chost, in open_client_udp()
1012 snprintf(snmp_client.local_path, sizeof(snmp_client.local_path), in open_client_local()
1299 snmp_client.timeout_start(&snmp_client.timeout, in snmp_timeout()
1331 snmp_client.timeout_start(&snmp_client.timeout, snmp_timeout, in snmp_pdu_send()
[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-14.2/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.c132 snmp_client_init(&snmp_client); in snmptool_init()
170 snmp_client.version = SNMP_V3; in snmptool_init()
794 if (snmp_client.trans > SNMP_TRANS_UDP && snmp_client.chost == NULL) { in parse_server()
846 snmp_client.retries = v; in parse_retry()
927 snmp_client.txbuflen = snmp_client.rxbuflen = size; in parse_buflen()
935 snmp_client.dump_pdus = 1; in parse_debug()
1427 free(snmp_client.chost); in snmp_tool_freeall()
1428 snmp_client.chost = NULL; in snmp_tool_freeall()
1432 free(snmp_client.cport); in snmp_tool_freeall()
1433 snmp_client.cport = NULL; in snmp_tool_freeall()
[all …]
/freebsd-14.2/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-14.2/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-14.2/lib/libbsnmp/libbsnmp/
H A DMakefile96 MLINKS+= bsnmpclient.3 snmp_client.3
/freebsd-14.2/tools/build/mk/
H A DOptionalObsoleteFiles.inc543 OLD_FILES+=usr/share/man/man3/snmp_client.3.gz