Go to the source code of this file.
Classes | |
struct | mip_field |
A structure representing a MIP field. More... | |
Typedefs | |
typedef struct mip_field | mip_field |
A structure representing a MIP field. More... | |
Functions | |
uint8_t | mip_field_descriptor_set (const mip_field *field) |
Returns the descriptor set of the packet containing this field._. More... | |
uint8_t | mip_field_field_descriptor (const mip_field *field) |
Returns the field descriptor. More... | |
mip_field | mip_field_first_from_packet (const mip_packet *packet) |
Extracts the first field from a MIP packet. More... | |
mip_field | mip_field_from_header_ptr (const uint8_t *header, uint8_t total_length, uint8_t descriptor_set) |
Constructs a mip_field from a pointer to the heaader. More... | |
void | mip_field_init (mip_field *field, uint8_t descriptor_set, uint8_t field_descriptor, const uint8_t *payload, uint8_t payload_length) |
Constructs a mip_field given the parameters. More... | |
void | mip_field_init_empty (mip_field *field) |
Initialize a mip_field struct to an invalid/empty state. More... | |
bool | mip_field_is_valid (const mip_field *field) |
Returns true if the field has a valid field descriptor. More... | |
bool | mip_field_next (mip_field *field) |
Updates the mip_field to refer to the next field in a packet. More... | |
mip_field | mip_field_next_after (const mip_field *field) |
Gets the next field after the specified field._. More... | |
bool | mip_field_next_in_packet (mip_field *field, const mip_packet *packet) |
Iterates over all fields in a packet. More... | |
const uint8_t * | mip_field_payload (const mip_field *field) |
Returns the payload pointer for the field data. More... | |
uint8_t | mip_field_payload_length (const mip_field *field) |
Returns the length of the payload. More... | |