Generic type for selective fragment recovery headers. More...
Generic type for selective fragment recovery headers.
#include <sfr.h>
Data Fields | |
uint8_t | disp_ecn |
Dispatch and explicit congestion notification (ECN) flag. More... | |
uint8_t | tag |
Datagram tag. | |
uint8_t sixlowpan_sfr_t::disp_ecn |
Dispatch and explicit congestion notification (ECN) flag.
In network byte-order the 7 most significant bits are the dispatch (7 bits) and the least significant bit is the ECN flag:
+-+-+-+-+-+-+-+-+ | Dispatch |E| +-+-+-+-+-+-+-+-+
For sixlowpan_sfr_ack_t the ECN flag represents the ECN echo flag.
This module provides helper functions to set, get, check these fields accordingly: