FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
hash.c File Reference
+ Include dependency graph for hash.c:

Go to the source code of this file.

Functions

u8format_vnet_hash (u8 *s, va_list *args)
 
vnet_hash_fn_t vnet_hash_default_function (vnet_hash_fn_type_t ftype)
 select hash func with highest priority More...
 
vnet_hash_fn_t vnet_hash_function_from_name (const char *name, vnet_hash_fn_type_t ftype)
 
vnet_hash_function_registration_tvnet_hash_function_from_func (vnet_hash_fn_t fn, vnet_hash_fn_type_t ftype)
 
static clib_error_tvnet_hash_init (vlib_main_t *vm)
 

Variables

vnet_hash_main_t vnet_hash_main
 

Function Documentation

◆ format_vnet_hash()

u8* format_vnet_hash ( u8 s,
va_list *  args 
)

Definition at line 14 of file hash.c.

◆ vnet_hash_default_function()

vnet_hash_fn_t vnet_hash_default_function ( vnet_hash_fn_type_t  ftype)

select hash func with highest priority

Definition at line 29 of file hash.c.

◆ vnet_hash_function_from_func()

vnet_hash_function_registration_t* vnet_hash_function_from_func ( vnet_hash_fn_t  fn,
vnet_hash_fn_type_t  ftype 
)

Definition at line 58 of file hash.c.

◆ vnet_hash_function_from_name()

vnet_hash_fn_t vnet_hash_function_from_name ( const char *  name,
vnet_hash_fn_type_t  ftype 
)

Definition at line 43 of file hash.c.

◆ vnet_hash_init()

static clib_error_t* vnet_hash_init ( vlib_main_t vm)
static

Definition at line 71 of file hash.c.

Variable Documentation

◆ vnet_hash_main

vnet_hash_main_t vnet_hash_main

Definition at line 11 of file hash.c.