NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
name.c File Reference
#include "name.h"
#include "../core/siphash.h"
#include "../vendor/pcg_basic.h"

Functions

uint64_t LName_ComputeHash (LName name)
 Compute hash for a name. More...
 
 RTE_INIT (InitLNameHash)
 
bool PName_Parse (PName *p, LName l)
 Parse a name from memory buffer. More...
 
void PName_PrepareHashes_ (PName *p)
 

Variables

uint64_t LName_EmptyHash_
 

Function Documentation

◆ LName_ComputeHash()

uint64_t LName_ComputeHash ( LName  name)

Compute hash for a name.

◆ PName_Parse()

bool PName_Parse ( PName p,
LName  l 
)

Parse a name from memory buffer.

◆ PName_PrepareHashes_()

void PName_PrepareHashes_ ( PName p)

◆ RTE_INIT()

RTE_INIT ( InitLNameHash  )

Variable Documentation

◆ LName_EmptyHash_

uint64_t LName_EmptyHash_