pfp::cp::MatchKey Class Referenceabstract
+ Inheritance diagram for pfp::cp::MatchKey:
+ Collaboration diagram for pfp::cp::MatchKey:

Public Types

enum  Type { EXACT, LPM, TERNARY }
 

Public Member Functions

 MatchKey (Bytes v)
 
virtual void print (std::ostream &os) const =0
 
const Bytes & get_data () const
 
virtual size_t get_prefix_len () const
 
virtual const Bytes & get_mask () const
 
virtual Type get_type () const =0
 

Protected Attributes

const Bytes data
 

The documentation for this class was generated from the following files:
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/cp/Commands.h
  • /home/lemniscate/workspace/PFPSim/pfpsim/core/cp/Commands.cpp