Public Types | Public Attributes | Static Public Attributes | List of all members
ptb::content::tcp_header_t Struct Reference

#include <CTB_content.h>

Public Types

typedef uint16_t pkt_size_t
 
typedef uint8_t seq_size_t
 
typedef uint8_t ver_size_t
 

Public Attributes

uint16_t packet_size: 16
 
uint8_t sequence_id: 8
 
uint8_t format_version: 8
 

Static Public Attributes

static size_t const size_bytes = sizeof(uint32_t)
 
static size_t const n_bits_size = 16
 
static size_t const n_bits_sequence_id = 8
 
static size_t const n_bits_version = 8
 

Detailed Description

– TCP header

Definition at line 33 of file CTB_content.h.

Member Typedef Documentation

Definition at line 34 of file CTB_content.h.

Definition at line 35 of file CTB_content.h.

Definition at line 36 of file CTB_content.h.

Member Data Documentation

uint8_t ptb::content::tcp_header_t::format_version

Definition at line 39 of file CTB_content.h.

size_t const ptb::content::tcp_header_t::n_bits_sequence_id = 8
static

Definition at line 43 of file CTB_content.h.

size_t const ptb::content::tcp_header_t::n_bits_size = 16
static

Definition at line 42 of file CTB_content.h.

size_t const ptb::content::tcp_header_t::n_bits_version = 8
static

Definition at line 44 of file CTB_content.h.

uint16_t ptb::content::tcp_header_t::packet_size

Definition at line 37 of file CTB_content.h.

uint8_t ptb::content::tcp_header_t::sequence_id

Definition at line 38 of file CTB_content.h.

size_t const ptb::content::tcp_header_t::size_bytes = sizeof(uint32_t)
static

Definition at line 41 of file CTB_content.h.


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