NDN-DPDK
High-Speed Named Data Networking Forwarder
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
PName Struct Reference

Parsed name. More...

#include <name.h>

Data Fields

const uint8_t * value
 TLV-VALUE. More...
 
uint16_t length
 TLV-LENGTH. More...
 
uint16_t nComps
 number of components More...
 
struct {
   int16_t   firstNonGeneric: 12
 index of first non-generic component More...
 
   bool   hasDigestComp: 1
 ends with digest component? More...
 
   bool   hasHashes_: 1
 hash_ computed? More...
 
   uint32_t   a_: 2
 
__rte_packed
 
uint16_t comp_ [PNameCachedComponents]
 end offset of i-th component More...
 
uint64_t hash_ [PNameCachedComponents]
 hash of i+1-component prefix More...
 

Detailed Description

Parsed name.

Field Documentation

◆ 

struct { ... } PName::__rte_packed

◆ a_

uint32_t PName::a_

◆ comp_

uint16_t PName::comp_[PNameCachedComponents]

end offset of i-th component

◆ firstNonGeneric

int16_t PName::firstNonGeneric

index of first non-generic component

◆ hasDigestComp

bool PName::hasDigestComp

ends with digest component?

◆ hash_

uint64_t PName::hash_[PNameCachedComponents]

hash of i+1-component prefix

◆ hasHashes_

bool PName::hasHashes_

hash_ computed?

◆ length

uint16_t PName::length

TLV-LENGTH.

◆ nComps

uint16_t PName::nComps

number of components

◆ value

const uint8_t* PName::value

TLV-VALUE.


The documentation for this struct was generated from the following file: