DPDK
20.11.10
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
r
s
t
+
Variables
a
c
d
e
l
r
s
+
Typedefs
a
c
d
e
h
l
m
p
r
s
t
+
Enumerations
d
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_eal
include
rte_random.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2010-2014 Intel Corporation
3
*/
4
5
#ifndef _RTE_RANDOM_H_
6
#define _RTE_RANDOM_H_
7
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#include <stdint.h>
19
20
#include <rte_compat.h>
21
36
void
37
rte_srand
(uint64_t seedval);
38
49
uint64_t
50
rte_rand
(
void
);
51
65
__rte_experimental
66
uint64_t
67
rte_rand_max
(uint64_t upper_bound);
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
74
#endif
/* _RTE_RANDOM_H_ */
rte_rand
uint64_t rte_rand(void)
rte_srand
void rte_srand(uint64_t seedval)
rte_rand_max
__rte_experimental uint64_t rte_rand_max(uint64_t upper_bound)
Generated by
1.8.13