Fragmentation extension definitions. More...

Detailed Description

Fragmentation extension definitions.

Martine Lenders

Definition in file frag.h.

#include <stdbool.h>
#include <stdint.h>
#include "byteorder.h"
+ Include dependency graph for frag.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ipv6_ext_frag_t
 Fragment header definition. More...


 Mask for the offset.
#define IPV6_EXT_FRAG_M   (0x0001)
 M flag.


static unsigned ipv6_ext_frag_get_offset (const ipv6_ext_frag_t *frag)
 Get offset of fragment in bytes. More...
static bool ipv6_ext_frag_more (const ipv6_ext_frag_t *frag)
 Checks if more fragments are coming after the given fragment. More...
static void ipv6_ext_frag_set_offset (ipv6_ext_frag_t *frag, unsigned offset)
 Sets the offset field of a fragment header. More...
static void ipv6_ext_frag_set_more (ipv6_ext_frag_t *frag)
 Sets the M flag of a fragment header. More...