DPDK
18.05.1
Main Page
Related Pages
Data Structures
Files
Examples
File List
Globals
lib
librte_table
rte_table_hash_cuckoo.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright(c) 2018 Intel Corporation
3
*/
4
5
#ifndef __INCLUDE_RTE_TABLE_HASH_CUCKOO_H__
6
#define __INCLUDE_RTE_TABLE_HASH_CUCKOO_H__
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
17
#include <stdint.h>
18
19
#include <
rte_hash.h
>
20
21
#include "
rte_table.h
"
22
24
struct
rte_table_hash_cuckoo_params
{
26
const
char
*
name
;
27
29
uint32_t
key_size
;
30
32
uint32_t
key_offset
;
33
35
uint8_t *
key_mask
;
36
38
uint32_t
n_keys
;
39
41
uint32_t
n_buckets
;
42
44
rte_hash_function
f_hash
;
45
47
uint32_t
seed
;
48
};
49
51
extern
struct
rte_table_ops
rte_table_hash_cuckoo_ops
;
52
53
#ifdef __cplusplus
54
}
55
#endif
56
57
#endif
Generated by
1.8.1.2