The contents of this legacy page are no longer maintained nor supported, and are made available only for historical purposes.


CflowdNextHopTable Documentation

CflowdNextHopTable


[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class CflowdNextHopTable : public _CflowdNextHopTableMap_t

{

public:
typedef _CflowdNextHopTableMap_t::iterator iterator;
typedef _CflowdNextHopTableMap_t::const_iterator const_iterator;
int AddFlow(const CflowdRawFlow & flow);
istream & read(istream & is);
int read(int fd);
ostream & write(ostream & os) const;
int write(int fd) const;
friend ostream& operator << (ostream& os, const CflowdNextHopTable & nextHopTable);
protected:
}; // CflowdNextHopTable

Back to the top of CflowdNextHopTable


DESCRIPTION


---------------------------------------------------------------------------
class CflowdNextHopTable : public CflowdNextHopTableMap_t
---------------------------------------------------------------------------
This class is used to contain nextHop traffic data in cflowd++. We use the nextHop IP address as a key, and a CflowdNextHopTableTrafficCounter to hold data in an STL map. Note we just inherit from an instantiation of an STL map, then just add some new member functions.
---------------------------------------------------------------------------

Back to the top of CflowdNextHopTable


typedef _CflowdNextHopTableMap_t::iterator iterator;

No documentation available.

  typedef _CflowdNextHopTableMap_t::iterator         iterator;

Back to the top of CflowdNextHopTable


typedef _CflowdNextHopTableMap_t::const_iterator const_iterator;

No documentation available.

  typedef _CflowdNextHopTableMap_t::const_iterator   const_iterator;

Back to the top of CflowdNextHopTable


int AddFlow(const CflowdRawFlow & flow);


-------------------------------------------------------------------------
int AddFlow(const CflowdRawFlow & flow)
.........................................................................
Adds data to the nextHop table from the flows in flowpdu. Returns the number of flows handled.
-------------------------------------------------------------------------

  int AddFlow(const CflowdRawFlow & flow);

Back to the top of CflowdNextHopTable


istream & read(istream & is);


-------------------------------------------------------------------------
istream & read(istream & is)
.........................................................................
Reads the nextHop data from an istream. Returns the istream.
-------------------------------------------------------------------------

  istream & read(istream & is);

Back to the top of CflowdNextHopTable


int read(int fd);


-------------------------------------------------------------------------
int read(int fd)
.........................................................................
Reads the nextHop data from a file descriptor. Returns the number of bytes read on success, -1 on failure.
-------------------------------------------------------------------------

  int read(int fd);

Back to the top of CflowdNextHopTable


ostream & write(ostream & os) const;


-------------------------------------------------------------------------
ostream & write(ostream & os) const
.........................................................................
Writes the nextHop data to an ostream. Returns the ostream.
-------------------------------------------------------------------------

  ostream & write(ostream & os) const;

Back to the top of CflowdNextHopTable


int write(int fd) const;


-------------------------------------------------------------------------
int write(int fd) const
.........................................................................
Writes the nextHop data to a file descriptor. Returns the number of bytes written on success, -1 on failure.
-------------------------------------------------------------------------

  int write(int fd) const;

Back to the top of CflowdNextHopTable


friend ostream& operator << (ostream& os, const CflowdNextHopTable & nextHopTable);


-------------------------------------------------------------------------
friend ostream& operator << (ostream& os, const CflowdNextHopTable & nextHopTable)
.........................................................................

-------------------------------------------------------------------------

  friend ostream& operator << (ostream& os,
                               const CflowdNextHopTable & nextHopTable);

Back to the top of CflowdNextHopTable


All Members

public:
typedef _CflowdNextHopTableMap_t::iterator iterator;
typedef _CflowdNextHopTableMap_t::const_iterator const_iterator;
int AddFlow(const CflowdRawFlow & flow);
istream & read(istream & is);
int read(int fd);
ostream & write(ostream & os) const;
int write(int fd) const;
friend ostream& operator << (ostream& os, const CflowdNextHopTable & nextHopTable);
protected:

Back to the top of CflowdNextHopTable


Ancestors

Inheritance chain for CflowdNextHopTable:

Back to the top of CflowdNextHopTable


Descendants

Class is not inherited by any others.

Back to the top of CflowdNextHopTable


Generated from source by the Cocoon utilities on Tue Sep 22 04:08:57 1998 .

Report problems to jkotula@unimax.com

Related Objects

See https://catalog.caida.org/software/cflowd/ to explore related objects to this document in the CAIDA Resource Catalog.