roo_transport
API Documentation for roo_transport
Loading...
Searching...
No Matches
protocol.h File Reference
Include dependency graph for protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  roo_transport
 
namespace  roo_transport::internal
 

Enumerations

enum  roo_transport::internal::PacketType {
  roo_transport::internal::kDataPacket = 0 , roo_transport::internal::kFinPacket = 1 , roo_transport::internal::kDataAckPacket = 2 , roo_transport::internal::kHandshakePacket = 3 ,
  roo_transport::internal::kFlowControlPacket = 4
}
 

Functions

bool roo_transport::internal::GetPacketControlBit (uint16_t header)
 
PacketType roo_transport::internal::GetPacketType (uint16_t header)
 
uint16_t roo_transport::internal::FormatPacketHeader (SeqNum seq, PacketType type, bool control_bit)
 
void roo_transport::internal::SetPacketHeaderTypeFin (uint16_t &header)