NDN-DPDK
High-Speed Named Data Networking Forwarder
Loading...
Searching...
No Matches
PName Struct Reference

Parsed name. More...

#include <name.h>

Data Fields

const uint8_t * value
 TLV-VALUE.
uint16_t length
 TLV-LENGTH.
uint16_t nComps
 number of components
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_end
uint16_t comp_ [PNameCachedComponents]
 end offset of i-th component
uint64_t hash_ [PNameCachedComponents]
 hash of i+1-component prefix

Detailed Description

Parsed name.

Field Documentation

◆ [struct]

struct { ... } PName::__rte_packed_end

◆ 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: