DPDK
25.03.0
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Functions
_
g
r
t
Variables
c
r
Typedefs
a
c
d
e
h
l
m
p
r
s
t
Enumerations
d
r
Enumerator
c
e
f
r
s
w
Macros
_
b
c
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
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
#include <
rte_byteorder.h
>
20
24
struct
__rte_packed_begin
rte_tcp_hdr
{
25
rte_be16_t
src_port
;
26
rte_be16_t
dst_port
;
27
rte_be32_t
sent_seq
;
28
rte_be32_t
recv_ack
;
29
uint8_t
data_off
;
30
uint8_t
tcp_flags
;
31
rte_be16_t
rx_win
;
32
rte_be16_t
cksum
;
33
rte_be16_t
tcp_urp
;
34
} __rte_packed_end;
35
39
#define RTE_TCP_CWR_FLAG 0x80
40
#define RTE_TCP_ECE_FLAG 0x40
41
#define RTE_TCP_URG_FLAG 0x20
42
#define RTE_TCP_ACK_FLAG 0x10
43
#define RTE_TCP_PSH_FLAG 0x08
44
#define RTE_TCP_RST_FLAG 0x04
45
#define RTE_TCP_SYN_FLAG 0x02
46
#define RTE_TCP_FIN_FLAG 0x01
48
#endif
/* RTE_TCP_H_ */
rte_byteorder.h
rte_be32_t
uint32_t rte_be32_t
Definition:
rte_byteorder.h:117
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:116
__rte_packed_begin
#define __rte_packed_begin
Definition:
rte_common.h:124
rte_tcp_hdr
Definition:
rte_tcp.h:24
rte_tcp_hdr::dst_port
rte_be16_t dst_port
Definition:
rte_tcp.h:26
rte_tcp_hdr::tcp_flags
uint8_t tcp_flags
Definition:
rte_tcp.h:30
rte_tcp_hdr::cksum
rte_be16_t cksum
Definition:
rte_tcp.h:32
rte_tcp_hdr::data_off
uint8_t data_off
Definition:
rte_tcp.h:29
rte_tcp_hdr::src_port
rte_be16_t src_port
Definition:
rte_tcp.h:25
rte_tcp_hdr::recv_ack
rte_be32_t recv_ack
Definition:
rte_tcp.h:28
rte_tcp_hdr::sent_seq
rte_be32_t sent_seq
Definition:
rte_tcp.h:27
rte_tcp_hdr::tcp_urp
rte_be16_t tcp_urp
Definition:
rte_tcp.h:33
rte_tcp_hdr::rx_win
rte_be16_t rx_win
Definition:
rte_tcp.h:31
Generated by
1.9.4