|
ROHC compression/decompression library
|
Function to parse ROHC feedback. More...

Defines | |
| #define | D_FEEDBACK (0xf0 >> 3) |
Functions | |
| bool | rohc_packet_is_feedback (const uint8_t byte) |
| Find out whether a ROHC packet is a Feedback packet or not. | |
| bool | rohc_feedback_get_size (const struct rohc_buf rohc_data, size_t *const feedback_hdr_len, size_t *const feedback_data_len) |
| Find out the lengths of the feedback header and data. | |
Function to parse ROHC feedback.
| #define D_FEEDBACK (0xf0 >> 3) |
The magic bits to find out whether a ROHC packet is a feedback packet
| bool rohc_feedback_get_size | ( | const struct rohc_buf | rohc_data, |
| size_t *const | feedback_hdr_len, | ||
| size_t *const | feedback_data_len | ||
| ) |
Find out the lengths of the feedback header and data.
See 5.2.2 in the RFC 3095 for details.
| rohc_data | The ROHC data to get feedback lengths from | |
| [out] | feedback_hdr_len | The length of the feedback header (in bytes) |
| [out] | feedback_data_len | The length of the feedback data (in bytes) |
| bool rohc_packet_is_feedback | ( | const uint8_t | byte | ) |
Find out whether a ROHC packet is a Feedback packet or not.
| byte | The first byte of ROHC packet to analyze |
1.7.6.1