Searched refs:snmp_client (Results 1 - 6 of 6) sorted by relevance
/freebsd-13-stable/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 74 struct snmp_client snmp_client; variable in typeref:struct:snmp_client 131 seterr(struct snmp_client *sc, const char *fmt, ...) 202 seterr(&snmp_client, "no memory for table entry"); 206 seterr(&snmp_client, "no memory for table entry"); 220 seterr(&snmp_client, "bad index: need integer"); 224 seterr(&snmp_client, 234 seterr(&snmp_client, 240 seterr(&snmp_client, 245 seterr(&snmp_client, [all...] |
H A D | snmpclient.h | 72 struct snmp_client { struct 117 extern struct snmp_client snmp_client; 119 /* initizialies a snmp_client structure */ 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-13-stable/usr.sbin/bsnmpd/tools/libbsnmptools/ |
H A D | bsnmptools.c | 134 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-13-stable/contrib/bsnmp/tests/ |
H A D | snmp_parse_server.cc | 15 try_parse(struct snmp_client *sc, const char *str) 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 s [all...] |
/freebsd-13-stable/usr.sbin/bsnmpd/tools/bsnmptools/ |
H A D | bsnmpget.c | 1225 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-13-stable/lib/libbsnmp/libbsnmp/ |
H A D | Makefile | 97 MLINKS+= bsnmpclient.3 snmp_client.3
|
Completed in 111 milliseconds