#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
|
size_t | tlv_get_tlvar (uint8_t *buf, size_t buflen, uint32_t *var) |
| Get the first variable of type or length from a TLV encoded form. More...
|
|
uint8_t * | tlv_get_type_length (uint8_t *buf, size_t buflen, uint32_t *type, uint32_t *length) |
| Get type and length from a TLV encoded form. More...
|
|
int | tlv_check_type_length (uint8_t *buf, size_t buflen, uint32_t type) |
| Check the type and length of a TLV block. More...
|
|
int | tlv_interest_get_header (uint8_t *interest, size_t buflen, interest_options_t *options, uint8_t **name, size_t *name_len) |
| Get the name and options of an Interest packet. More...
|
|
int | tlv_data_get_name (uint8_t *data, size_t buflen, uint8_t **name, size_t *name_len) |
| Get the name of a Data packet. More...
|
|
uint8_t * | tlv_interest_get_hoplimit_ptr (uint8_t *interest, size_t buflen) |
| Get the pointer to hop limit field of a Interest packet. More...
|
|
uint64_t | tlv_get_uint (uint8_t *buf, size_t buflen) |
| Decode an unsigned integer value. More...
|
|