DPDK  19.11.14
Data Fields
rte_tcp_hdr Struct Reference

#include <rte_tcp.h>

Data Fields

rte_be16_t src_port
 
rte_be16_t dst_port
 
rte_be32_t sent_seq
 
rte_be32_t recv_ack
 
uint8_t data_off
 
uint8_t tcp_flags
 
rte_be16_t rx_win
 
rte_be16_t cksum
 
rte_be16_t tcp_urp
 

Detailed Description

TCP Header

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

Definition at line 28 of file rte_tcp.h.

Field Documentation

◆ src_port

rte_be16_t src_port

TCP source port.

Examples:
examples/flow_classify/flow_classify.c, and examples/l3fwd-power/main.c.

Definition at line 29 of file rte_tcp.h.

◆ dst_port

rte_be16_t dst_port

TCP destination port.

Examples:
examples/flow_classify/flow_classify.c, and examples/l3fwd-power/main.c.

Definition at line 30 of file rte_tcp.h.

◆ sent_seq

rte_be32_t sent_seq

TX data sequence number.

Definition at line 31 of file rte_tcp.h.

◆ recv_ack

rte_be32_t recv_ack

RX data acknowledgment sequence number.

Definition at line 32 of file rte_tcp.h.

◆ data_off

uint8_t data_off

Data offset.

Examples:
examples/tep_termination/vxlan.c.

Definition at line 33 of file rte_tcp.h.

◆ tcp_flags

uint8_t tcp_flags

TCP flags

Definition at line 34 of file rte_tcp.h.

◆ rx_win

rte_be16_t rx_win

RX flow control window.

Definition at line 35 of file rte_tcp.h.

◆ cksum

rte_be16_t cksum

TCP checksum.

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

Definition at line 36 of file rte_tcp.h.

◆ tcp_urp

rte_be16_t tcp_urp

TCP urgent pointer, if any.

Definition at line 37 of file rte_tcp.h.


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