Searched refs:asn_len_t (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/bsnmp/lib/ |
H A D | asn1.h | 81 typedef uint32_t asn_len_t; /* could be also uint16_t */ typedef 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); 98 enum asn_err asn_get_integer_raw(struct asn_buf *, asn_len_t, int32_t *); 102 enum asn_err asn_get_octetstring_raw(struct asn_buf *, asn_len_t, u_char *, u_int *); 106 enum asn_err asn_get_null_raw(struct asn_buf *b, asn_len_t); 112 enum asn_err asn_get_objid_raw(struct asn_buf *, asn_len_t, struct asn_oid *); 116 enum asn_err asn_get_sequence(struct asn_buf *, asn_len_t *); 118 enum asn_err asn_get_ipaddress_raw(struct asn_buf *, asn_len_t, u_char *); 122 enum asn_err asn_get_uint32_raw(struct asn_buf *, asn_len_t, uint32_t *); [all …]
|
H A D | asn1.c | 59 asn_get_header(struct asn_buf *b, u_char *type, asn_len_t *len) in asn_get_header() 125 asn_put_len(u_char *ptr, asn_len_t len) in asn_put_len() 128 asn_len_t tmp; in asn_put_len() 162 asn_put_header(struct asn_buf *b, u_char type, asn_len_t len) in asn_put_header() 214 asn_len_t len; in asn_commit_header() 246 asn_get_real_integer(struct asn_buf *b, asn_len_t len, int64_t *vp) in asn_get_real_integer() 341 asn_get_real_unsigned(struct asn_buf *b, asn_len_t len, uint64_t *vp) in asn_get_real_unsigned() 419 asn_get_integer_raw(struct asn_buf *b, asn_len_t len, int32_t *vp) in asn_get_integer_raw() 441 asn_len_t len; in asn_get_integer() 471 asn_get_octetstring_raw(struct asn_buf *b, asn_len_t len, u_char *octets, in asn_get_octetstring_raw() [all …]
|
H A D | snmp.c | 75 asn_len_t len, trailer; in get_var_binding() 199 snmp_parse_pdus_hdr(struct asn_buf *b, struct snmp_pdu *pdu, asn_len_t *lenp) in snmp_parse_pdus_hdr() 248 asn_len_t len, trailer; in parse_pdus() 286 asn_len_t octs_len; in parse_secparams() 468 asn_len_t len; in snmp_pdu_decode_header() 554 asn_len_t len, trailer; in snmp_pdu_decode_scoped() 683 asn_len_t len; in snmp_pdu_snoop() 844 asn_len_t padlen; in snmp_pdu_fix_padd()
|
H A D | snmppriv.h | 39 asn_len_t *lenp);
|
H A D | snmp.h | 188 asn_len_t scoped_len;
|
H A D | snmpagent.c | 980 asn_len_t len; in snmp_make_errresp()
|
/freebsd/contrib/bsnmp/tests/ |
H A D | asn1.cc | 60 mk_asn_buf(asn_len_t len) in mk_asn_buf() 108 asn_len_t alen; 185 check_header(const Tbuf &buf, uint8_t type, asn_len_t alen) in check_header() 263 const auto conv_err = [] (asn_len_t alen, asn_len_t vlen, uint8_t type, 271 const auto conv = [] (asn_len_t alen, asn_len_t vlen, uint8_t type, 420 const auto conv = [] (asn_len_t alen, uint64_t val, const auto &buf) { in __anon4d4e46190502() 428 const auto conv_err = [] (asn_len_t alen, uint64_t val, asn_err err, 597 const auto conv = [] (asn_len_t alen, uint32_t val, const auto &buf) { in __anon4d4e46190902() 605 const auto conv_err = [] (asn_len_t alen, uint32_t val, asn_err err, 774 const auto conv = [] (asn_len_t alen, int32_t val, const auto &buf) { in __anon4d4e46190d02() [all …]
|
/freebsd/lib/libbsnmp/tests/ |
H A D | bsnmpd_test.c | 37 asn_len_t len; in ATF_TC_BODY()
|