Header
TODO
Header objects in C++ are referenced by the following shared pointer typedef:
The Header class description is shown below:
-
class Header
PGP Card class.
Public Functions
Creator.
-
~Header()
Destructor.
-
bool verify()
Verify header checksum. Also inits records.
-
void update()
Update header with settings and update checksum.
-
struct timeval &getTime()
Get time.
-
uint32_t count()
Get Count.
-
void rstTime()
Reset tx time.
-
std::string dump()
Dump message contents.
Public Members
-
bool syn
Syn flag.
-
bool ack
Ack flag.
-
bool rst
Rst flag.
-
bool nul
NUL flag.
-
bool busy
Busy flag.
-
uint8_t sequence
Sequence number.
-
uint8_t acknowledge
Acknowledge number.
-
uint8_t version
Version field.
-
bool chk
Chk flag.
-
uint8_t maxOutstandingSegments
MAX Outstanding Segments.
-
uint16_t maxSegmentSize
MAX Segment Size.
-
uint16_t retransmissionTimeout
Retransmission Timeout.
-
uint16_t cumulativeAckTimeout
Cumulative Acknowledgment Timeout.
-
uint16_t nullTimeout
NULL Timeout.
-
uint8_t maxRetransmissions
Max Retransmissions.
-
uint8_t maxCumulativeAck
MAX Cumulative Ack.
-
uint8_t timeoutUnit
Timeout Unit.
-
uint32_t connectionId
Connection ID.
Public Static Functions
Create.