DPDK  23.03.0
rte_swx_keycmp.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2022 Intel Corporation
3  */
4 #ifndef __INCLUDE_RTE_SWX_KEYCMP_H__
5 #define __INCLUDE_RTE_SWX_KEYCMP_H__
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
16 #include <stdint.h>
17 #include <string.h>
18 
31 typedef uint32_t
32 (*rte_swx_keycmp_func_t)(void *key1, void *key2, uint32_t key_size);
33 
43 rte_swx_keycmp_func_get(uint32_t key_size);
44 
45 #ifdef __cplusplus
46 }
47 #endif
48 
49 #endif
rte_swx_keycmp_func_t rte_swx_keycmp_func_get(uint32_t key_size)
uint32_t(* rte_swx_keycmp_func_t)(void *key1, void *key2, uint32_t key_size)