Fragmentation extension definitions. More...
Fragmentation extension definitions.
Definition in file frag.h.
Go to the source code of this file.
Data Structures | |
struct | ipv6_ext_frag_t |
Fragment header definition. More... | |
Macros | |
#define | IPV6_EXT_FRAG_OFFSET_MASK (0xFFF8) |
Mask for the offset. | |
#define | IPV6_EXT_FRAG_M (0x0001) |
M flag. | |
Functions | |
static unsigned | ipv6_ext_frag_get_offset (const ipv6_ext_frag_t *frag) |
Get offset of fragment in bytes. | |
static bool | ipv6_ext_frag_more (const ipv6_ext_frag_t *frag) |
Checks if more fragments are coming after the given fragment. | |
static void | ipv6_ext_frag_set_offset (ipv6_ext_frag_t *frag, unsigned offset) |
Sets the offset field of a fragment header. | |
static void | ipv6_ext_frag_set_more (ipv6_ext_frag_t *frag) |
Sets the M flag of a fragment header. | |