LDPC-Staircase Repair FEC Payload ID.
More...
#include <roc_fec/headers.h>
|
void | clear () |
| Clear header.
|
|
uint16_t | sbn () const |
| Get source block number.
|
|
void | set_sbn (uint16_t val) |
| Set source block number.
|
|
uint16_t | esi () const |
| Get encoding symbol ID.
|
|
void | set_esi (uint16_t val) |
| Set encoding symbol ID.
|
|
uint16_t | k () const |
| Get source block length.
|
|
void | set_k (uint16_t val) |
| Set source block length.
|
|
uint16_t | n () const |
| Get number encoding symbols.
|
|
void | set_n (uint16_t val) |
| Set number encoding symbols.
|
|
LDPC-Staircase Repair FEC Payload ID.
RFC 6816 5.1.3: "Repair FEC Payload ID"
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Source Block Number (SBN) | Encoding Symbol ID (ESI) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
Source Block Length (
k) | Number Encoding Symbols (
n) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
uint16_t k() const
Get source block length.
uint16_t n() const
Get number encoding symbols.
@ Source
Source packet header of footer.
Definition at line 124 of file headers.h.
◆ clear()
void roc::fec::LDPC_Repair_PayloadID::clear |
( |
| ) |
|
|
inline |
◆ esi()
uint16_t roc::fec::LDPC_Repair_PayloadID::esi |
( |
| ) |
const |
|
inline |
Get encoding symbol ID.
Definition at line 160 of file headers.h.
◆ fec_scheme()
Get FEC scheme to which these packets belong to.
Definition at line 140 of file headers.h.
◆ k()
uint16_t roc::fec::LDPC_Repair_PayloadID::k |
( |
| ) |
const |
|
inline |
Get source block length.
Definition at line 170 of file headers.h.
◆ n()
uint16_t roc::fec::LDPC_Repair_PayloadID::n |
( |
| ) |
const |
|
inline |
Get number encoding symbols.
Definition at line 180 of file headers.h.
◆ sbn()
uint16_t roc::fec::LDPC_Repair_PayloadID::sbn |
( |
| ) |
const |
|
inline |
Get source block number.
Definition at line 150 of file headers.h.
◆ set_esi()
void roc::fec::LDPC_Repair_PayloadID::set_esi |
( |
uint16_t |
val | ) |
|
|
inline |
Set encoding symbol ID.
Definition at line 165 of file headers.h.
◆ set_k()
void roc::fec::LDPC_Repair_PayloadID::set_k |
( |
uint16_t |
val | ) |
|
|
inline |
Set source block length.
Definition at line 175 of file headers.h.
◆ set_n()
void roc::fec::LDPC_Repair_PayloadID::set_n |
( |
uint16_t |
val | ) |
|
|
inline |
Set number encoding symbols.
Definition at line 185 of file headers.h.
◆ set_sbn()
void roc::fec::LDPC_Repair_PayloadID::set_sbn |
( |
uint16_t |
val | ) |
|
|
inline |
Set source block number.
Definition at line 155 of file headers.h.
The documentation for this class was generated from the following file: