Loading...
Searching...
No Matches
sixlowpan_sfr_rfrag_t Struct Reference

Recoverable fragment header. More...

Detailed Description

Recoverable fragment header.

See also
RFC 8931, section 5.1

Definition at line 96 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.
 
network_uint16_t offset
 Fragment offset.
 

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 121 of file sfr.h.

◆ base

sixlowpan_sfr_t sixlowpan_sfr_rfrag_t::base

generic part

Definition at line 97 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 132 of file sfr.h.


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