DPDK  20.08.0
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/flow_classify/flow_classify.c, 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

rte_be16_t src_port

TCP source port.

Examples:
examples/l3fwd-power/main.c.

Definition at line 29 of file rte_tcp.h.

rte_be16_t dst_port

TCP destination port.

Examples:
examples/l3fwd-power/main.c.

Definition at line 30 of file rte_tcp.h.

rte_be32_t sent_seq

TX data sequence number.

Definition at line 31 of file rte_tcp.h.

rte_be32_t recv_ack

RX data acknowledgment sequence number.

Definition at line 32 of file rte_tcp.h.

uint8_t data_off

Data offset.

Examples:
examples/tep_termination/vxlan.c.

Definition at line 33 of file rte_tcp.h.

uint8_t tcp_flags

TCP flags

Definition at line 34 of file rte_tcp.h.

rte_be16_t rx_win

RX flow control window.

Definition at line 35 of file rte_tcp.h.

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.

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: