|
Public Member Functions |
| | FlowTable (int size_=FLOW_TABLE_SIZE) |
| | ~FlowTable () |
| TableEntry & | operator[] (int index) |
| int | find (nsaddr_t source, nsaddr_t destination, u_int16_t flow) |
| int | find (nsaddr_t source, nsaddr_t destination, const Path &route) |
| int | createEntry (nsaddr_t source, nsaddr_t destination, u_int16_t flow) |
| bool | defaultFlow (nsaddr_t source, nsaddr_t destination, u_int16_t &flow) |
| u_int16_t | generateNextFlowId (nsaddr_t destination, bool allowDefault) |
| void | noticeDeadLink (const ID &from, const ID &to) |
| void | cleanup () |
| void | setNetAddr (nsaddr_t net_id) |
Private Member Functions |
| void | grow () |
Private Attributes |
| TableEntry * | table |
| int | size |
| int | maxSize |
| u_int16_t | counter |
| nsaddr_t | net_addr |
| DRTable | DRTab |