NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
hashtable.h File Reference
#include "../core/common.h"
#include <rte_hash.h>

Go to the source code of this file.

Functions

struct rte_hash * HashTable_New (struct rte_hash_parameters params)
 Create a hashtable. More...
 

Function Documentation

◆ HashTable_New()

struct rte_hash* HashTable_New ( struct rte_hash_parameters  params)

Create a hashtable.

Parameters
paramsrte_hash parameters. Required: name , entries , key_len , socket_id . Optional: hash_func , extra_flag .
Returns
the hashtable.
Return values
NULLerror. Error code is in rte_errno .