DPDK
19.11.14
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
_
c
g
p
r
s
t
+
Variables
b
c
m
r
+
Typedefs
a
c
d
e
h
l
m
p
r
s
u
+
Enumerations
r
+
Enumerator
c
e
f
i
m
r
s
w
+
Macros
_
b
c
d
e
i
l
m
o
p
r
s
t
u
v
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
lib
librte_net
rte_udp.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_UDP_H_
9
#define _RTE_UDP_H_
10
17
#include <stdint.h>
18
19
#include <
rte_byteorder.h
>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
28
struct
rte_udp_hdr
{
29
rte_be16_t
src_port
;
30
rte_be16_t
dst_port
;
31
rte_be16_t
dgram_len
;
32
rte_be16_t
dgram_cksum
;
33
} __attribute__((__packed__));
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
/* RTE_UDP_H_ */
rte_udp_hdr::dgram_len
rte_be16_t dgram_len
Definition:
rte_udp.h:31
rte_byteorder.h
rte_udp_hdr::dst_port
rte_be16_t dst_port
Definition:
rte_udp.h:30
rte_udp_hdr::src_port
rte_be16_t src_port
Definition:
rte_udp.h:29
rte_udp_hdr::dgram_cksum
rte_be16_t dgram_cksum
Definition:
rte_udp.h:32
rte_be16_t
uint16_t rte_be16_t
Definition:
rte_byteorder.h:110
rte_udp_hdr
Definition:
rte_udp.h:28
Generated by
1.8.13