Definitions for IPv6 fragmentation extension.
More...
Definitions for IPv6 fragmentation extension.
- See also
- RFC 8200, section 4.5
|
file | frag.h |
| Fragmentation extension definitions.
|
|
◆ ipv6_ext_frag_get_offset()
Get offset of fragment in bytes.
- Parameters
-
[in] | frag | A fragment header |
- Returns
- Offset of fragment in bytes.
Definition at line 62 of file frag.h.
◆ ipv6_ext_frag_more()
Checks if more fragments are coming after the given fragment.
- Parameters
-
[in] | frag | A fragment header |
- Returns
- true, when more fragments are coming after the given fragment.
-
false, when the given fragment is the last.
Definition at line 78 of file frag.h.
◆ ipv6_ext_frag_set_more()
◆ ipv6_ext_frag_set_offset()
static void ipv6_ext_frag_set_offset |
( |
ipv6_ext_frag_t * |
frag, |
|
|
unsigned |
offset |
|
) |
| |
|
inlinestatic |
Sets the offset field of a fragment header.
- Note
- Must be called before ipv6_ext_frag_set_more()
- Parameters
-
[in,out] | frag | A fragment header |
[in] | offset | The offset of the fragment in bytes. Is assumed to be a multiple of 8. Is assumed to be lesser or equal to 65528. |
Definition at line 93 of file frag.h.