summaryrefslogtreecommitdiff
path: root/include/ouroboros/rqueue.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Add new version of Resource Information Basedimitri staessens2017-01-211-0/+72
The new RIB is implemented as a tree with doubly linked nodes (parents keep a link to each child, each child keeps a link to its parent). An index is kept in a btree using CRC32 hashes of the path name in the RIB. Nodes keep an SHA3-256 hash value that is unique for the entire subtree. This allows quick checks to see if two RIB subtrees are in sync. The event system for the RIB is based on the event system for flows (fqueue), but implemented completely in dynamic memory using linked lists. An initial test is performed for the RIB. This PR does not modify existing code to use the new RIB.