#include <evl.h>
Data Fields | |
| array_t * | rawRulesAndMacrosArray |
| st_table * | defineTable |
| array_t * | rawRules |
| int | numAllRules |
| int | numPreprocessRules |
| int | indexFirstContentRule |
| int | indexLastContentRule |
| Evl_L4Manager_t * | tcpMgr |
| Evl_L4Manager_t * | udpMgr |
| Evl_L4Manager_t * | icmpMgr |
| Evl_L4Manager_t * | ipMgr |
| Evl_GenericManager_t * | genericMgr |
| Evl_Bridge_t * | bridge |
| array_t * | rlpActionArray |
| array_t * | actionArray |
| st_table * | queueTable |
| Heap_t * | qHeap |
| Tcl_Interp * | interp |
| ClientData | cd |
| st_table * | ucodeNameToFunction |
| array_t * | preprocessorResult |
| array_t * | genericResult |
| array_t * | layer3Result |
| array_t * | layer4Result |
We will often refer to a rule by its index into the allRules array, which is just the string formula of the rule.
For now we are assuming that the rules are partitioned into three sets: those that depend on dest port, those that depend on src but not dest, and those that depend on neither source nor destination.
The variable ordering is taken to be destPort < srcPort < destIp < srcIp for all the BDDs.
The destPort bits are MSB to LSB in the BDD, ditto for the other port and IP bits. This will also help with the actual lookup.
The distinctL4RulesTable keeps track of the distinct L4 rules we've seen - it maps the BDD to an int id, which can be used to index into L4RuleIdToL7ruleSetTable, which tells us for a given L4 rule what the original rules were - the set of corresponding rules is represented by a var_set_t of length numAllRules.
There are three arrays of L4 lookup tables - one for each of the groups - destPortRules, srcPortRules, noPortRules. See the L4 lookup table structure for details.
Definition at line 428 of file evl.h.
| Tcl_Interp* Evl_Manager_t::interp |
| ClientData Evl_Manager_t::cd |