DPDK 25.03.0-rc0
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#include <stdint.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
34void
35rte_srand(uint64_t seedval);
36
49uint64_t
51
67uint64_t
68rte_rand_max(uint64_t upper_bound);
69
85double rte_drand(void);
86
87#ifdef __cplusplus
88}
89#endif
90
91
92#endif /* _RTE_RANDOM_H_ */
uint64_t rte_rand(void)
double rte_drand(void)
uint64_t rte_rand_max(uint64_t upper_bound)
void rte_srand(uint64_t seedval)