sixlowpan_sfr_rfrag_t Struct Reference

Recoverable fragment header. More...

Detailed Description

Recoverable fragment header.

See also
draft-ietf-6lo-fragment-recovery-05, section 5.1

Definition at line 98 of file sfr.h.

#include <sfr.h>

Data Fields

sixlowpan_sfr_t base
 generic part
 
network_uint16_t ar_seq_fs
 Acknowledgment request flag, sequence number, and fragment size. More...
 
network_uint16_t offset
 Fragment offset. More...
 

Field Documentation

◆ ar_seq_fs

network_uint16_t sixlowpan_sfr_rfrag_t::ar_seq_fs

Acknowledgment request flag, sequence number, and fragment size.

In network byte-order the most significant bit is the acknowledgment request flag, the second to sixth most significant bits are the sequence number (5 bits), and the 10 least significant bits are the fragment size (10 bits):

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|X| sequence|   fragment_size   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

This module provides helper functions to set, get, check these fields accordingly:

Definition at line 123 of file sfr.h.

◆ offset

network_uint16_t sixlowpan_sfr_rfrag_t::offset

Fragment offset.

This module provides helper functions to set, get, check these fields accordingly:

Definition at line 134 of file sfr.h.


The documentation for this struct was generated from the following file: