|
roo_transport
API Documentation for roo_transport
|
Data Structures | |
| class | InBuffer |
| class | OutBuffer |
| class | Receiver |
| class | RingBuffer |
| class | SeqNum |
| class | Transmitter |
Enumerations | |
| enum | PacketType { kDataPacket = 0 , kFinPacket = 1 , kDataAckPacket = 2 , kHandshakePacket = 3 , kFlowControlPacket = 4 } |
Functions | |
| bool | GetPacketControlBit (uint16_t header) |
| PacketType | GetPacketType (uint16_t header) |
| uint16_t | FormatPacketHeader (SeqNum seq, PacketType type, bool control_bit) |
| void | SetPacketHeaderTypeFin (uint16_t &header) |
| Enumerator | |
|---|---|
| kDataPacket | |
| kFinPacket | |
| kDataAckPacket | |
| kHandshakePacket | |
| kFlowControlPacket | |
Definition at line 103 of file protocol.h.
|
inline |
Definition at line 121 of file protocol.h.
References roo_transport::internal::SeqNum::raw().
Referenced by roo_transport::internal::Receiver::ack(), roo_transport::internal::OutBuffer::init(), and roo_transport::internal::Receiver::updateRecvHimark().
Definition at line 111 of file protocol.h.
|
inline |
Definition at line 115 of file protocol.h.
Definition at line 126 of file protocol.h.
Referenced by roo_transport::internal::OutBuffer::markFinal().