Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
cnet_udp.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2016-2022 Intel Corporation
3
*/
4
5
#ifndef __CNET_UDP_H
6
#define __CNET_UDP_H
7
13
#include <stdint.h>
// for uint32_t
14
15
#include "
cnet_const.h
"
// for bool_t
16
#include "
cnet_pcb.h
"
// for pcb_hd
17
18
#ifdef __cplusplus
19
extern
"C"
{
20
#endif
21
22
/* UDP parameters for Send and Receive buffer sizes. */
23
#define MAX_UDP_RCV_SIZE (1024 * 1024)
24
#define MAX_UDP_SND_SIZE MAX_UDP_RCV_SIZE
25
26
struct
udp_entry {
27
struct
pcb_hd udp_hd;
28
bool
cksum_on;
29
uint32_t rcv_size;
30
uint32_t snd_size;
31
};
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
/* __CNET_UDP_H */
cnet_const.h
cnet_pcb.h
lib
cnet
udp
cnet_udp.h
Generated by
1.9.1