|
Public Member Functions |
| | MCastClassifier () |
| | ~MCastClassifier () |
Static Public Attributes |
| const char | STARSYM [] = "x" |
Protected Types |
| enum | { HASHSIZE = 256
} |
Protected Member Functions |
| virtual int | command (int argc, const char *const *argv) |
| virtual int | classify (Packet *p) |
| int | findslot () |
| int | hash (nsaddr_t src, nsaddr_t dst) const |
| void | set_hash (hashnode *ht[], nsaddr_t src, nsaddr_t dst, int slot, int iface) |
| void | clearAll () |
| void | clearHash (hashnode *h[], int size) |
| hashnode * | lookup (nsaddr_t src, nsaddr_t dst, int iface=iface_literal::ANY_IFACE) const |
| hashnode * | lookup_star (nsaddr_t dst, int iface=iface_literal::ANY_IFACE) const |
| void | change_iface (nsaddr_t src, nsaddr_t dst, int oldiface, int newiface) |
| void | change_iface (nsaddr_t dst, int oldiface, int newiface) |
Protected Attributes |
| hashnode * | ht_ [HASHSIZE] |
| hashnode * | ht_star_ [HASHSIZE] |