DPDK  19.08.0-rc0
Data Fields
rte_tcp_hdr Struct Reference

#include <rte_tcp.h>

Data Fields

uint16_t src_port
 
uint16_t dst_port
 
uint32_t sent_seq
 
uint32_t recv_ack
 
uint8_t data_off
 
uint8_t tcp_flags
 
uint16_t rx_win
 
uint16_t cksum
 
uint16_t tcp_urp
 

Detailed Description

TCP Header

Examples
examples/flow_classify/flow_classify.c, examples/ip_pipeline/pipeline.c, examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, examples/tep_termination/vxlan.c, and examples/vhost/main.c.

Definition at line 26 of file rte_tcp.h.

Field Documentation

◆ src_port

uint16_t src_port

TCP source port.

Examples
examples/l3fwd-power/main.c, and examples/l3fwd-vf/main.c.

Definition at line 27 of file rte_tcp.h.

◆ dst_port

uint16_t dst_port

TCP destination port.

Examples
examples/l3fwd-power/main.c, and examples/l3fwd-vf/main.c.

Definition at line 28 of file rte_tcp.h.

◆ sent_seq

uint32_t sent_seq

TX data sequence number.

Definition at line 29 of file rte_tcp.h.

◆ recv_ack

uint32_t recv_ack

RX data acknowledgement sequence number.

Definition at line 30 of file rte_tcp.h.

◆ data_off

uint8_t data_off

Data offset.

Examples
examples/tep_termination/vxlan.c.

Definition at line 31 of file rte_tcp.h.

◆ tcp_flags

uint8_t tcp_flags

TCP flags

Definition at line 32 of file rte_tcp.h.

◆ rx_win

uint16_t rx_win

RX flow control window.

Definition at line 33 of file rte_tcp.h.

◆ cksum

uint16_t cksum

TCP checksum.

Examples
examples/tep_termination/vxlan.c, and examples/vhost/main.c.

Definition at line 34 of file rte_tcp.h.

◆ tcp_urp

uint16_t tcp_urp

TCP urgent pointer, if any.

Definition at line 35 of file rte_tcp.h.


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