DPDK
18.11.11
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_net
rte_tcp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 1982, 1986, 1990, 1993
3
* The Regents of the University of California.
4
* Copyright(c) 2010-2014 Intel Corporation.
5
* All rights reserved.
6
*/
7
8
#ifndef _RTE_TCP_H_
9
#define _RTE_TCP_H_
10
17
#include <stdint.h>
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
26
struct
tcp_hdr
{
27
uint16_t
src_port
;
28
uint16_t
dst_port
;
29
uint32_t
sent_seq
;
30
uint32_t
recv_ack
;
31
uint8_t
data_off
;
32
uint8_t
tcp_flags
;
33
uint16_t
rx_win
;
34
uint16_t
cksum
;
35
uint16_t
tcp_urp
;
36
} __attribute__((__packed__));
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
/* RTE_TCP_H_ */
tcp_hdr::cksum
uint16_t cksum
Definition:
rte_tcp.h:34
tcp_hdr::dst_port
uint16_t dst_port
Definition:
rte_tcp.h:28
tcp_hdr::rx_win
uint16_t rx_win
Definition:
rte_tcp.h:33
tcp_hdr::tcp_flags
uint8_t tcp_flags
Definition:
rte_tcp.h:32
tcp_hdr::src_port
uint16_t src_port
Definition:
rte_tcp.h:27
tcp_hdr::recv_ack
uint32_t recv_ack
Definition:
rte_tcp.h:30
tcp_hdr
Definition:
rte_tcp.h:26
tcp_hdr::data_off
uint8_t data_off
Definition:
rte_tcp.h:31
tcp_hdr::sent_seq
uint32_t sent_seq
Definition:
rte_tcp.h:29
tcp_hdr::tcp_urp
uint16_t tcp_urp
Definition:
rte_tcp.h:35
Generated by
1.8.9.1