Searched refs:asn_buf (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/contrib/bsnmp/lib/ |
H A D | snmppriv.h | 35 enum asn_err snmp_binding_encode(struct asn_buf *, const struct snmp_value *); 36 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,
|
H A D | asn1.h | 38 struct asn_buf { struct 90 extern void (*asn_error)(const struct asn_buf *, const char *, ...); 92 enum asn_err asn_get_header(struct asn_buf *, u_char *, asn_len_t *); 93 enum asn_err asn_put_header(struct asn_buf *, u_char, asn_len_t); 95 enum asn_err asn_put_temp_header(struct asn_buf *, u_char, u_char **); 96 enum asn_err asn_commit_header(struct asn_buf *, u_char *, size_t *); 98 enum asn_err asn_get_integer_raw(struct asn_buf *, asn_len_t, int32_t *); 99 enum asn_err asn_get_integer(struct asn_buf *, int32_t *); 100 enum asn_err asn_put_integer(struct asn_buf *, int32_t); 102 enum asn_err asn_get_octetstring_raw(struct asn_buf *, asn_len_ [all...] |
H A D | snmpagent.h | 132 enum snmp_ret snmp_get(struct snmp_pdu *pdu, struct asn_buf *resp_b, 134 enum snmp_ret snmp_getnext(struct snmp_pdu *pdu, struct asn_buf *resp_b, 136 enum snmp_ret snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b, 138 enum snmp_ret snmp_set(struct snmp_pdu *pdu, struct asn_buf *resp_b, 141 enum snmp_ret snmp_make_errresp(const struct snmp_pdu *, struct asn_buf *, 142 struct asn_buf *);
|
H A D | snmp.h | 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 *); 269 int snmp_pdu_snoop(const struct asn_buf *);
|
H A D | asn1.c | 48 static void asn_error_func(const struct asn_buf *, const char *, ...); 50 void (*asn_error)(const struct asn_buf *, const char *, ...) = asn_error_func; 59 asn_get_header(struct asn_buf *b, u_char *type, asn_len_t *len) 154 asn_put_header(struct asn_buf *b, u_char type, asn_len_t len) 192 asn_put_temp_header(struct asn_buf *b, u_char type, u_char **ptr) 204 asn_commit_header(struct asn_buf *b, u_char *ptr, size_t *moved) 238 asn_get_real_integer(struct asn_buf *b, asn_len_t len, int64_t *vp) 284 asn_put_real_integer(struct asn_buf *b, u_char type, int64_t ival) 332 asn_get_real_unsigned(struct asn_buf *b, asn_len_t len, uint64_t *vp) 369 asn_put_real_unsigned(struct asn_buf * [all...] |
H A D | snmp.c | 72 get_var_binding(struct asn_buf *b, struct snmp_value *binding) 199 snmp_parse_pdus_hdr(struct asn_buf *b, struct snmp_pdu *pdu, asn_len_t *lenp) 246 parse_pdus(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip) 284 parse_secparams(struct asn_buf *b, struct snmp_pdu *pdu) 288 struct asn_buf tb; 357 pdu_encode_secparams(struct asn_buf *b, struct snmp_pdu *pdu) 360 struct asn_buf tb; 431 snmp_pdu_decode(struct asn_buf *b, struct snmp_pdu *pdu, int32_t *ip) 464 snmp_pdu_decode_header(struct asn_buf *b, struct snmp_pdu *pdu) 551 snmp_pdu_decode_scoped(struct asn_buf * [all...] |
H A D | snmpagent.c | 202 snmp_get(struct snmp_pdu *pdu, struct asn_buf *resp_b, 404 snmp_getnext(struct snmp_pdu *pdu, struct asn_buf *resp_b, 459 snmp_getbulk(struct snmp_pdu *pdu, struct asn_buf *resp_b, 675 snmp_set(struct snmp_pdu *pdu, struct asn_buf *resp_b, 976 snmp_make_errresp(const struct snmp_pdu *pdu, struct asn_buf *pdu_b, 977 struct asn_buf *resp_b)
|
H A D | snmpclient.c | 1236 struct asn_buf b; 1352 struct asn_buf abuf;
|
/freebsd-11-stable/contrib/bsnmp/snmpd/ |
H A D | main.c | 246 static void asn_error_func(const struct asn_buf *b, const char *err, ...); 283 struct asn_buf resp_b; 484 struct asn_buf b; 663 struct asn_buf resp_b, pdu_b; 2000 asn_error_func(const struct asn_buf *b, const char *err, ...)
|
Completed in 103 milliseconds