2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright(c) 1982, 1986, 1990, 1993
5 * The Regents of the University of California.
6 * Copyright(c) 2010-2014 Intel Corporation.
29 uint16_t src_port; /**< TCP source port. */
30 uint16_t dst_port; /**< TCP destination port. */
31 uint32_t sent_seq; /**< TX data sequence number. */
32 uint32_t recv_ack; /**< RX data acknowledgement sequence number. */
33 uint8_t data_off; /**< Data offset. */
34 uint8_t tcp_flags; /**< TCP flags */
35 uint16_t rx_win; /**< RX flow control window. */
36 uint16_t cksum; /**< TCP checksum. */
37 uint16_t tcp_urp; /**< TCP urgent pointer, if any. */
38 } __attribute__((__packed__));
44 #endif /* RTE_TCP_H_ */