DPDK  17.11.10
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:
examples/flow_classify/flow_classify.c, examples/ip_pipeline/pipeline/pipeline_firewall_be.c, examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, examples/tep_termination/vxlan.c, and examples/vhost/main.c.

Definition at line 88 of file rte_tcp.h.

Field Documentation

uint16_t src_port

TCP source port.

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

Definition at line 89 of file rte_tcp.h.

uint16_t dst_port

TCP destination port.

Examples:
examples/l3fwd-power/main.c, and examples/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.

Examples:
examples/tep_termination/vxlan.c.

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:
examples/tep_termination/vxlan.c, and examples/vhost/main.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: