CflowdNetMatrixKey
All class functions are defined inline.
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdNetMatrixKey{
public:
- ipv4addr_t Src() const ;
- ipv4addr_t Src(ipv4addr_t src) ;
- ipv4addr_t Dst() const ;
- ipv4addr_t Dst(ipv4addr_t dst) ;
- uint8_t SrcMaskLen() const ;
- uint8_t SrcMaskLen(uint8_t srcMaskLen) ;
- uint8_t DstMaskLen() const ;
- uint8_t DstMaskLen(uint8_t dstMaskLen) ;
- bool operator < (const CflowdNetMatrixKey & netMatrixKey) const ;
- istream & read(istream & is) ;
- int read(int fd) ;
- ostream & write(ostream & os) const ;
- int write(int fd) const ;
- ipv4addr_t Src(ipv4addr_t src) ;
Back to the top of CflowdNetMatrixKey
DESCRIPTION
---------------------------------------------------------------------------
class CflowdNetMatrixKey
---------------------------------------------------------------------------
This class is used as a key into an network matrix map in cflowd++. The key is comprised of a source and destination network.
Note how I've inlined all this; we don't want member function call overhead in here because this class' members will be called frequently when it's used as a key in an STL