Searched refs:snmp_pdu (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.2-release/contrib/bsnmp/lib/
H A Dsnmppriv.h36 enum snmp_code snmp_pdu_encode_header(struct asn_buf *, struct snmp_pdu *);
37 enum snmp_code snmp_fix_encoding(struct asn_buf *, struct snmp_pdu *);
38 enum asn_err snmp_parse_pdus_hdr(struct asn_buf *b, struct snmp_pdu *pdu,
41 enum snmp_code snmp_pdu_calc_digest(const struct snmp_pdu *, uint8_t *);
42 enum snmp_code snmp_pdu_encrypt(const struct snmp_pdu *);
43 enum snmp_code snmp_pdu_decrypt(const struct snmp_pdu *);
H A Dsnmpagent.h132 enum snmp_ret snmp_get(struct snmp_pdu *pdu, struct asn_buf *resp_b,
133 struct snmp_pdu *resp, void *);
134 enum snmp_ret snmp_getnext(struct snmp_pdu *pdu, struct asn_buf *resp_b,
135 struct snmp_pdu *resp, void *);
136 enum snmp_ret snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b,
137 struct snmp_pdu *resp, void *);
138 enum snmp_ret snmp_set(struct snmp_pdu *pdu, struct asn_buf *resp_b,
139 struct snmp_pdu *resp, void *);
141 enum snmp_ret snmp_make_errresp(const struct snmp_pdu *, struct asn_buf *,
H A Dsnmpclient.h56 typedef void (*snmp_send_cb_f)(struct snmp_pdu *, struct snmp_pdu *, void *);
132 /* initialize a snmp_pdu structure */
133 void snmp_pdu_create(struct snmp_pdu *, u_int _op);
136 int snmp_add_binding(struct snmp_pdu *, ...);
139 int snmp_pdu_check(const struct snmp_pdu *_req, const struct snmp_pdu *_resp);
141 int32_t snmp_pdu_send(struct snmp_pdu *_pdu, snmp_send_cb_f _func, void *_arg);
193 int snmp_dialog(struct snmp_pdu *_req, struct snmp_pdu *_res
[all...]
H A Dsnmp.h149 struct snmp_pdu { struct
197 #define snmp_v1_pdu snmp_pdu
261 void snmp_pdu_free(struct snmp_pdu *);
262 void snmp_pdu_init_secparams(struct snmp_pdu *);
263 enum snmp_code snmp_pdu_decode(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *);
264 enum snmp_code snmp_pdu_decode_header(struct asn_buf *, struct snmp_pdu *);
265 enum snmp_code snmp_pdu_decode_scoped(struct asn_buf *, struct snmp_pdu *, int32_t *);
266 enum snmp_code snmp_pdu_encode(struct snmp_pdu *, struct asn_buf *);
267 enum snmp_code snmp_pdu_decode_secmode(struct asn_buf *, struct snmp_pdu *);
271 void snmp_pdu_dump(const struct snmp_pdu *pd
[all...]
H A Dsnmpcrypto.c90 snmp_pdu_calc_digest(const struct snmp_pdu *pdu, uint8_t *digest)
141 snmp_pdu_cipher_init(const struct snmp_pdu *pdu, int32_t len,
174 snmp_pdu_encrypt(const struct snmp_pdu *pdu)
202 snmp_pdu_decrypt(const struct snmp_pdu *pdu)
342 snmp_pdu_calc_digest(const struct snmp_pdu *pdu, uint8_t *digest __unused)
352 snmp_pdu_encrypt(const struct snmp_pdu *pdu)
361 snmp_pdu_decrypt(const struct snmp_pdu *pdu)
H A Dsnmpclient.c73 struct snmp_pdu *pdu;
118 struct snmp_pdu pdu;
440 table_init_pdu(const struct snmp_table *descr, struct snmp_pdu *pdu)
468 table_check_response(struct tabwork *work, const struct snmp_pdu *resp)
561 struct snmp_pdu resp;
626 table_cb(struct snmp_pdu *req __unused, struct snmp_pdu *resp, void *arg)
1135 * initialize a snmp_pdu structure
1138 snmp_pdu_create(struct snmp_pdu *pdu, u_int op)
1140 memset(pdu, 0, sizeof(struct snmp_pdu));
[all...]
H A Dsnmpagent.c169 snmp_pdu_create_response(struct snmp_pdu *pdu, struct snmp_pdu *resp)
199 snmp_get(struct snmp_pdu *pdu, struct asn_buf *resp_b,
200 struct snmp_pdu *resp, void *data)
328 struct snmp_value *outb, struct snmp_pdu *pdu)
396 snmp_getnext(struct snmp_pdu *pdu, struct asn_buf *resp_b,
397 struct snmp_pdu *resp, void *data)
445 snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b,
446 struct snmp_pdu *resp, void *data)
552 rollback(struct context *context, struct snmp_pdu *pd
[all...]
H A Dsnmp.c197 snmp_parse_pdus_hdr(struct asn_buf *b, struct snmp_pdu *pdu, asn_len_t *lenp)
244 parse_pdus(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip)
282 parse_secparams(struct asn_buf *b, struct snmp_pdu *pdu)
353 pdu_encode_secparams(struct asn_buf *b, struct snmp_pdu *pdu)
427 snmp_pdu_decode(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip)
460 snmp_pdu_decode_header(struct asn_buf *b, struct snmp_pdu *pdu)
547 snmp_pdu_decode_scoped(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip)
633 snmp_pdu_decode_secmode(struct asn_buf *b, struct snmp_pdu *pdu)
734 snmp_pdu_encode_header(struct asn_buf *b, struct snmp_pdu *pdu)
838 snmp_pdu_fix_padd(struct asn_buf *b, struct snmp_pdu *pd
[all...]
/freebsd-10.2-release/usr.sbin/bsnmpd/tools/libbsnmptools/
H A Dbsnmptools.h316 struct snmp_pdu *, struct snmp_object *);
317 typedef int32_t (*snmp_add_vbind_f) (struct snmp_pdu *, struct snmp_object *);
319 snmp_add_vbind_f, struct snmp_pdu *, int32_t);
321 int32_t snmp_parse_get_resp(struct snmp_pdu *, struct snmp_pdu *);
322 int32_t snmp_parse_getbulk_resp(struct snmp_pdu *, struct snmp_pdu *);
323 int32_t snmp_parse_getnext_resp(struct snmp_pdu *, struct snmp_pdu *);
324 int32_t snmp_parse_resp(struct snmp_pdu *, struc
[all...]
H A Dbsnmptools.c1467 struct snmp_pdu *pdu, int32_t maxcount)
1533 snmp_parse_get_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
1554 snmp_parse_getbulk_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
1591 snmp_parse_getnext_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
1612 snmp_parse_resp(struct snmp_pdu *resp, struct snmp_pdu *req)
2013 snmp_output_err_resp(struct snmp_toolinfo *snmptoolctx, struct snmp_pdu *pd
[all...]
/freebsd-10.2-release/contrib/bsnmp/snmpd/
H A Dsnmpmod.h295 enum snmpd_proxy_err (*proxy)(struct snmp_pdu *, void *,
583 struct snmp_pdu *, int32_t *, size_t *);
586 enum snmpd_input_err snmp_input_finish(struct snmp_pdu *, const u_char *,
590 void snmp_output(struct snmp_pdu *, u_char *, size_t *, const char *);
591 void snmp_send_port(void *, const struct asn_oid *, struct snmp_pdu *,
593 enum snmp_code snmp_pdu_auth_access(struct snmp_pdu *, int32_t *);
H A Dtrap.c421 snmp_create_v1_trap(struct snmp_pdu *pdu, char *com,
438 snmp_create_v2_trap(struct snmp_pdu *pdu, char *com,
464 snmp_create_v3_trap(struct snmp_pdu *pdu, struct target_param *target,
532 struct snmp_pdu pdu;
H A Dmain.c277 snmp_output(struct snmp_pdu *pdu, u_char *sndbuf, size_t *sndlen,
300 snmp_pdu_auth_user(struct snmp_pdu *pdu)
373 snmp_pdu_auth_access(struct snmp_pdu *pdu, int32_t *ip)
485 struct snmp_pdu *pdu, int32_t *ip, size_t *pdulen)
660 snmp_input_finish(struct snmp_pdu *pdu, const u_char *rcvbuf, size_t rcvlen,
664 struct snmp_pdu resp;
1185 struct snmp_pdu pdu;
1393 snmp_send_port(void *targ, const struct asn_oid *port, struct snmp_pdu *pdu,
/freebsd-10.2-release/usr.sbin/bsnmpd/tools/bsnmptools/
H A Dbsnmpget.c324 snmptool_add_vbind(struct snmp_pdu *pdu, struct snmp_object *obj)
339 snmpget_verify_vbind(struct snmp_toolinfo *snmptoolctx, struct snmp_pdu *pdu,
367 snmpget_fix_getbulk(struct snmp_pdu *pdu, uint32_t max_rep, uint32_t non_rep)
385 struct snmp_pdu req, resp;
451 snmpwalk_nextpdu_create(uint32_t op, struct asn_oid *var, struct snmp_pdu *pdu)
461 struct snmp_pdu req, resp;
1035 snmpset_verify_vbind(struct snmp_toolinfo *snmptoolctx, struct snmp_pdu *pdu,
1057 snmpset_add_vbind(struct snmp_pdu *pdu, struct snmp_object *obj)
1080 struct snmp_pdu req, resp;
/freebsd-10.2-release/sbin/atm/atmconfig/
H A Datmconfig_device.c340 struct snmp_pdu pdu, resp;

Completed in 110 milliseconds