Classes | Static Public Attributes | Protected Types | Protected Member Functions | Protected Attributes

MCastClassifier Class Reference

Inheritance diagram for MCastClassifier:
Classifier NsObject Handler MCastBSTClassifier

List of all members.


struct  hashnode

Static Public Attributes

static 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)
hashnodelookup (nsaddr_t src, nsaddr_t dst, int iface=iface_literal::ANY_IFACE) const
hashnodelookup_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

hashnodeht_ [HASHSIZE]
hashnodeht_star_ [HASHSIZE]

The documentation for this class was generated from the following files: