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