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

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 .