Recoverable fragment header. More...
#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. | |
network_uint16_t | offset |
Fragment offset. | |
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:
sixlowpan_sfr_t sixlowpan_sfr_rfrag_t::base |
network_uint16_t sixlowpan_sfr_rfrag_t::offset |
Fragment offset.
This module provides helper functions to set, get, check these fields accordingly: