12 #ifndef ROC_PACKET_FEC_H_
13 #define ROC_PACKET_FEC_H_
uint16_t blknum_t
FEC packet block number.
FecScheme
FECFRAME scheme.
@ FEC_ReedSolomon_M8
Reed-Solomon (m=8).
@ FEC_LDPC_Staircase
LDPC-Staircase.
Commonly used types and functions.
core::Slice< uint8_t > payload
FECFRAME payload.
size_t encoding_symbol_id
The index number of packet in a block ("esi").
size_t source_block_length
Number of source packets in block to which this packet belongs ("sblen").
FecScheme fec_scheme
The FEC scheme to which the packet belongs to.
FEC()
Construct zero FEC packet.
size_t block_length
Number of source + repair packets in block to which this packet belongs ("blen").
blknum_t source_block_number
Number of a source block in a packet stream ("sbn").
core::Slice< uint8_t > payload_id
FECFRAME header or footer.
int compare(const FEC &) const
Determine packet order.
Various units used in packets.