Go to the source code of this file.
Data Structures | |
struct | ber_tag |
Defines | |
#define | BER_NUM_TAGS(x) (sizeof(x)/sizeof(struct ber_tag)) |
Functions | |
int | ber_decode (const struct ber_tag *tags, unsigned int num_tags, const uint8_t *ptr, size_t len, void *priv) |
size_t | ber_tag_len (const uint8_t *ptr, const uint8_t *end) |
const uint8_t * | ber_decode_tag (const uint8_t **ptr, const uint8_t *end, size_t *tag_len) |
size_t | ber_decode_len (const uint8_t **ptr, const uint8_t *end) |
#define BER_NUM_TAGS | ( | x | ) | (sizeof(x)/sizeof(struct ber_tag)) |
int ber_decode | ( | const struct ber_tag * | tags, | |
unsigned int | num_tags, | |||
const uint8_t * | ptr, | |||
size_t | len, | |||
void * | priv | |||
) |
Definition at line 252 of file ber.c.
References decode_len(), decode_tag(), find_tag(), hex_dump(), ber_tag::op, ber_tag::tag, and ber_tag::tag_len.
Referenced by add_app(), atc(), bop_dtemp(), bop_fci(), bop_fci2(), bop_psd(), get_aip(), ptc(), and set_app().
size_t ber_decode_len | ( | const uint8_t ** | ptr, | |
const uint8_t * | end | |||
) |
Definition at line 247 of file ber.c.
References decode_len().
Referenced by composite(), and decode_record().
const uint8_t* ber_decode_tag | ( | const uint8_t ** | ptr, | |
const uint8_t * | end, | |||
size_t * | tag_len | |||
) |
Definition at line 211 of file ber.c.
References decode_tag().
Referenced by composite().
size_t ber_tag_len | ( | const uint8_t * | ptr, | |
const uint8_t * | end | |||
) |
Definition at line 203 of file ber.c.
References decode_tag().
Referenced by construct_dol().