DPDK  2.2.0
Data Fields
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:
ip_pipeline/pipeline/pipeline_firewall_be.c, l3fwd-power/main.c, l3fwd-vf/main.c, and tep_termination/vxlan.c.

Definition at line 88 of file rte_tcp.h.

Field Documentation

uint16_t src_port

TCP source port.

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

Definition at line 89 of file rte_tcp.h.

uint16_t dst_port

TCP destination port.

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

Definition at line 90 of file rte_tcp.h.

uint32_t sent_seq

TX data sequence number.

Definition at line 91 of file rte_tcp.h.

uint32_t recv_ack

RX data acknowledgement sequence number.

Definition at line 92 of file rte_tcp.h.

uint8_t data_off

Data offset.

Definition at line 93 of file rte_tcp.h.

uint8_t tcp_flags

TCP flags

Definition at line 94 of file rte_tcp.h.

uint16_t rx_win

RX flow control window.

Definition at line 95 of file rte_tcp.h.

uint16_t cksum

TCP checksum.

Examples:
tep_termination/vxlan.c.

Definition at line 96 of file rte_tcp.h.

uint16_t tcp_urp

TCP urgent pointer, if any.

Definition at line 97 of file rte_tcp.h.


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