Seastar
High performance C++ framework for concurrent servers
Public Types | Public Member Functions | Public Attributes | List of all members
seastar::net::ip_hdr Struct Reference

Public Types

enum class  frag_bits : uint8_t { mf = 13 , df = 14 , reserved = 15 , offset_shift = 3 }
 

Public Member Functions

template<typename Adjuster >
auto adjust_endianness (Adjuster a)
 
bool mf ()
 
bool df ()
 
uint16_t offset ()
 

Public Attributes

uint8_t ihl: 4
 
uint8_t ver: 4
 
uint8_t dscp: 6
 
uint8_t ecn: 2
 
packed< uint16_t > len
 
packed< uint16_t > id
 
packed< uint16_t > frag
 
uint8_t ttl
 
uint8_t ip_proto
 
packed< uint16_t > csum
 
ipv4_address src_ip
 
ipv4_address dst_ip
 
uint8_t options [0]
 

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