Loading...
Searching...
No Matches

6LoWPAN Fragmentation headers and functionality More...

Detailed Description

6LoWPAN Fragmentation headers and functionality

See also
RFC 4944, section 5.3

Topics

 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.
 
 Minimal fragment forwarding
 Provides minimal fragment forwarding using the VRB
 
 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.
 
void gnrc_sixlowpan_frag_recv (gnrc_pktsnip_t *pkt, void *ctx, unsigned page)
 Handles a packet containing a fragment header.
 

Function Documentation

◆ gnrc_sixlowpan_frag_recv()

void gnrc_sixlowpan_frag_recv ( gnrc_pktsnip_t * pkt,
void * ctx,
unsigned page )

Handles a packet containing a fragment header.

Parameters
[in]pktThe packet to handle
[in]ctxContext for the packet. May be NULL.
[in]pageCurrent 6Lo dispatch parsing page.

◆ gnrc_sixlowpan_frag_send()

void gnrc_sixlowpan_frag_send ( gnrc_pktsnip_t * pkt,
void * ctx,
unsigned page )

Sends a packet fragmented.

Precondition
ctx != NULL
gnrc_sixlowpan_frag_fb_t::pkt of ctx is equal to pkt or pkt == NULL.
Parameters
[in]pktA packet. May be NULL.
[in]ctxA 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]pageCurrent 6Lo dispatch parsing page.