ndn-lite
Data Fields
nametree_entry Struct Reference

NameTree node. More...

#include <name-splay.h>

Collaboration diagram for nametree_entry:
Collaboration graph

Data Fields

uint8_t val [NDN_NAME_COMPONENT_BLOCK_SIZE]
 Name component of this node. More...
 
struct nametree_entrysub
 
struct nametree_entrycop [2]
 Subtree. More...
 
ndn_table_id_t pit_id
 Child or parent. More...
 
ndn_table_id_t fib_id
 Corresponding FIB entry's id. More...
 
ndn_table_id_t left_child
 First child of this node. More...
 
ndn_table_id_t right_bro
 Right brother of this node. More...
 

Detailed Description

NameTree node.

Field Documentation

◆ cop

struct nametree_entry* nametree_entry::cop[2]

Subtree.

◆ fib_id

ndn_table_id_t nametree_entry::fib_id

Corresponding FIB entry's id.

NDN_INVALID_ID if none.

◆ left_child

ndn_table_id_t nametree_entry::left_child

First child of this node.

NDN_INVALID_ID if none.

◆ pit_id

ndn_table_id_t nametree_entry::pit_id

Child or parent.

Corresponding PIT entry's id.

NDN_INVALID_ID if none.

◆ right_bro

ndn_table_id_t nametree_entry::right_bro

Right brother of this node.

For root node, it points to a free list. And a free node's right brother is the next free node. NDN_INVALID_ID if none.

◆ sub

struct nametree_entry* nametree_entry::sub

◆ val

uint8_t nametree_entry::val

Name component of this node.


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