12 void ChecksumTxCommon::write_overflow() {
Parent class for non-template elements of ChecksumRx.
satcat5::io::Writeable *const m_dst
Output object.
void write_abort() override
If possible, abort the current partially-written packet.
unsigned get_write_space() const override
How many bytes can be written without blocking?
Parent class for non-template elements of ChecksumTx.
virtual void chk_reset()=0
Reset the checksum calculation to its initial state.
void write_abort() override
If possible, abort the current partially-written packet.
bool chk_finalize()
Reset internal state and return true if the frame is valid.
satcat5::io::Writeable *const m_dst
Output object.
unsigned m_err_ct
Cumulative error count.
unsigned m_frm_ct
Cumulative frame count.
unsigned m_frm_len
Length of current frame.
unsigned m_byte_ct
Cumulative byte count.
virtual unsigned get_write_space() const =0
How many bytes can be written without blocking?
virtual void write_abort()
If possible, abort the current partially-written packet.
Inline checksum insertion (ChecksumTx) and verification (ChecksumRx).
Data structure for combined transmit and receive statistics.