DPDK  24.11.0-rc3
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 
12 #include <stdint.h>
13 #include <string.h>
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
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)