FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
tcp_packet.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tcp_header_t
 
struct  tcp_option_with_length_t
 

Macros

#define foreach_tcp_flag
 

Typedefs

typedef enum tcp_option_type tcp_option_type_t
 

Enumerations

enum  { TCP_N_FLAG_BITS, foreach_tcp_flag }
 
enum  tcp_option_type {
  TCP_OPTION_END = 0, TCP_OPTION_NOP = 1, TCP_OPTION_MSS = 2, TCP_OPTION_WINDOW_SCALE = 3,
  TCP_OPTION_SACK_PERMITTED = 4, TCP_OPTION_SACK_BLOCK = 5, TCP_OPTION_TIME_STAMP = 8
}
 

Functions

static int tcp_header_bytes (tcp_header_t *t)
 

Macro Definition Documentation

#define foreach_tcp_flag
Value:
_ (FIN) \
_ (SYN) \
_ (RST) \
_ (PSH) \
_ (ACK) \
_ (URG) \
_ (ECE) \
_ (CWR)

Definition at line 44 of file tcp_packet.h.

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
TCP_N_FLAG_BITS 
foreach_tcp_flag 

Definition at line 54 of file tcp_packet.h.

Enumerator
TCP_OPTION_END 
TCP_OPTION_NOP 
TCP_OPTION_MSS 
TCP_OPTION_WINDOW_SCALE 
TCP_OPTION_SACK_PERMITTED 
TCP_OPTION_SACK_BLOCK 
TCP_OPTION_TIME_STAMP 

Definition at line 109 of file tcp_packet.h.

Function Documentation

static int tcp_header_bytes ( tcp_header_t t)
inlinestatic

Definition at line 103 of file tcp_packet.h.