Seastar
High performance C++ framework for concurrent servers
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
seastar::net::tcp_hdr Struct Reference

Public Member Functions

void write (char *p) const
 

Static Public Member Functions

static tcp_hdr read (const char *p)
 
static void write_nbo_checksum (char *p, uint16_t checksum_in_network_byte_order)
 

Public Attributes

uint16_t src_port
 
uint16_t dst_port
 
tcp_seq seq
 
tcp_seq ack
 
uint8_t rsvd1: 4
 
uint8_t data_offset: 4
 
uint8_t f_fin: 1
 
uint8_t f_syn: 1
 
uint8_t f_rst: 1
 
uint8_t f_psh: 1
 
uint8_t f_ack: 1
 
uint8_t f_urg: 1
 
uint8_t rsvd2: 2
 
uint16_t window
 
uint16_t checksum
 
uint16_t urgent
 

Static Public Attributes

static constexpr size_t len = 20
 

The documentation for this struct was generated from the following file: