Siena Fast Forwarding Documentation (v. 2.0.1)
Static Public Member Functions | List of all members
siena::TTable Class Reference

a very simple implementation of a TagsFIB. More...

#include <ttable.h>

Inheritance diagram for siena::TTable:
Inheritance graph
[legend]
Collaboration diagram for siena::TTable:
Collaboration graph
[legend]

Static Public Member Functions

static TTablecreate ()
 create and initialize a TTable.
 

Additional Inherited Members

- Public Member Functions inherited from siena::TagsFIB
virtual void ifconfig (InterfaceId, const TagSetList &)=0
 Associates a predicate to an interface. More...
 
virtual void match (const TagSet &, MatchHandler &) const =0
 Processes a message, calling the output() function on the given MatchHandler object for each matching interface. More...
 

Detailed Description

a very simple implementation of a TagsFIB.

Basically, this is a table in which a each interface is associated with a predicate consisting of a list of tagsets. Insertion and matching are essentially sequential algorithms. In particular, matching goes through each tagset of each predicate (list) to look for a subset of the given (message) tagset.