ccn_btree_entry_trailer Struct Reference

Structure of a node entry trailer. More...


Data Fields

unsigned char koff0 [4]
 offset of piece 0 of the key
unsigned char ksiz0 [2]
 size of piece 0 of the key
unsigned char koff1 [4]
 offset of piece 1
unsigned char ksiz1 [2]
 size of piece 1
unsigned char entdx [2]
 index of this entry within the node
unsigned char level [1]
 leaf nodes are at level 0
unsigned char entsz [1]
 entry size in CCN_BT_SIZE_UNITS


Detailed Description

Structure of a node entry trailer.

This is how the last few bytes of each entry within a node are arranged.

Definition at line 184 of file btree.h.


Field Documentation

offset of piece 0 of the key

Definition at line 185 of file btree.h.

Referenced by ccn_btree_compare(), ccn_btree_insert_entry(), and ccn_btree_key_append().

size of piece 0 of the key

Definition at line 186 of file btree.h.

Referenced by ccn_btree_compare(), ccn_btree_insert_entry(), and ccn_btree_key_append().

offset of piece 1

Definition at line 187 of file btree.h.

Referenced by ccn_btree_compare(), ccn_btree_insert_entry(), and ccn_btree_key_append().

size of piece 1

Definition at line 188 of file btree.h.

Referenced by ccn_btree_compare(), ccn_btree_insert_entry(), and ccn_btree_key_append().

index of this entry within the node

Definition at line 189 of file btree.h.

Referenced by ccn_btree_insert_entry(), ccn_btree_node_nent(), and seek_trailer().

leaf nodes are at level 0

Definition at line 190 of file btree.h.

Referenced by ccn_btree_insert_entry().

entry size in CCN_BT_SIZE_UNITS

Definition at line 191 of file btree.h.

Referenced by ccn_btree_insert_entry(), ccn_btree_node_getentry(), ccn_btree_node_getentrysize(), and seek_trailer().


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

Generated on Thu Feb 16 00:44:31 2012 for Content-Centric Networking in C by  doxygen 1.5.6