6LoWPAN Fragmentation headers and functionality More...
6LoWPAN Fragmentation headers and functionality
Modules | |
6LoWPAN fragmentation buffer | |
Buffer for asynchronous 6LoWPAN fragmentation. | |
6LoWPAN reassembly buffer | |
6LoWPAN reassembly buffer | |
Fragment size hint | |
Provides a hint for smaller fragment sizes than the link-layer PDU for the next fragment to sent. | |
Fragmentation and reassembly statistics | |
Counter for certain 6LoWPAN fragmentation and reassembly events. | |
Virtual reassembly buffer | |
Virtual reassembly buffer. | |
Files | |
file | frag.h |
6LoWPAN Fragmentation definitions | |
Functions | |
void | gnrc_sixlowpan_frag_send (gnrc_pktsnip_t *pkt, void *ctx, unsigned page) |
Sends a packet fragmented. More... | |
void | gnrc_sixlowpan_frag_recv (gnrc_pktsnip_t *pkt, void *ctx, unsigned page) |
Handles a packet containing a fragment header. More... | |
void gnrc_sixlowpan_frag_recv | ( | gnrc_pktsnip_t * | pkt, |
void * | ctx, | ||
unsigned | page | ||
) |
Handles a packet containing a fragment header.
[in] | pkt | The packet to handle |
[in] | ctx | Context for the packet. May be NULL. |
[in] | page | Current 6Lo dispatch parsing page. |
void gnrc_sixlowpan_frag_send | ( | gnrc_pktsnip_t * | pkt, |
void * | ctx, | ||
unsigned | page | ||
) |
Sends a packet fragmented.
ctx != NULL
ctx
is equal to pkt
or pkt == NULL
.[in] | pkt | A packet. May be NULL. |
[in] | ctx | A fragmentation buffer entry. Expected to be of type gnrc_sixlowpan_frag_fb_t, with gnrc_sixlowpan_frag_fb_t set to pkt . Must not be NULL. |
[in] | page | Current 6Lo dispatch parsing page. |