6LoWPAN selective fragment recovery definitions for GNRC More...
6LoWPAN selective fragment recovery definitions for GNRC
Definition in file sfr.h.
#include "assert.h"
#include "bitfield.h"
#include "net/gnrc/pkt.h"
#include "net/gnrc/netif.h"
#include "net/gnrc/sixlowpan/config.h"
#include "net/gnrc/sixlowpan/frag/fb.h"
#include "net/gnrc/sixlowpan/frag/vrb.h"
#include "net/gnrc/sixlowpan/frag/sfr_types.h"
#include "net/sixlowpan/sfr.h"
Go to the source code of this file.
Data Structures | |
struct | gnrc_sixlowpan_frag_sfr_stats_t |
Stats on selective fragment recovery. More... | |
Macros | |
#define | GNRC_SIXLOWPAN_FRAG_SFR_ARQ_TIMEOUT_MSG (0x0227) |
Message type to signal an acknowledgement request timeout. | |
#define | GNRC_SIXLOWPAN_FRAG_SFR_INTER_FRAG_GAP_MSG (0x0228) |
Message type to signal the sending of the next frame. | |
Functions | |
void | gnrc_sixlowpan_frag_sfr_init (void) |
Initialize selective fragment recovery. | |
static void | gnrc_sixlowpan_frag_sfr_init_iface (gnrc_netif_t *netif) |
Initialize a network interface for selective fragment recovery. | |
static bool | gnrc_sixlowpan_frag_sfr_netif (gnrc_netif_t *netif) |
Checks if a network interface is configured for selective fragment recovery. | |
void | gnrc_sixlowpan_frag_sfr_send (gnrc_pktsnip_t *pkt, void *ctx, unsigned page) |
Sends a packet via selective fragment recovery. | |
void | gnrc_sixlowpan_frag_sfr_recv (gnrc_pktsnip_t *pkt, void *ctx, unsigned page) |
Handles a packet containing a selective fragment recovery header. | |
int | gnrc_sixlowpan_frag_sfr_forward (gnrc_pktsnip_t *pkt, sixlowpan_sfr_rfrag_t *rfrag, gnrc_sixlowpan_frag_vrb_t *vrbe, unsigned page) |
Forward a fragment via selective fragment recovery. | |
void | gnrc_sixlowpan_frag_sfr_arq_timeout (gnrc_sixlowpan_frag_fb_t *fbuf) |
Handles an Acknowledgment request timeout. | |
void | gnrc_sixlowpan_frag_sfr_inter_frame_gap (gnrc_sixlowpan_frag_fb_t *fbuf) |
Handles inter frame gap. | |