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


CflowdProtocolTable Documentation

CflowdProtocolTable


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

Quick Index

DESCRIPTION

Class Summary

class CflowdProtocolTable : public _CflowdProtocolTableMap_t

{

public:
typedef _CflowdProtocolTableMap_t::iterator iterator;
typedef _CflowdProtocolTableMap_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 CflowdProtocolTable & protocolTable);
protected:
}; // CflowdProtocolTable

Back to the top of CflowdProtocolTable


DESCRIPTION


---------------------------------------------------------------------------
class CflowdProtocolTable : public _CflowdProtocolTableMap_t
---------------------------------------------------------------------------
This class is used to contain protocol traffic data in cflowd++. We use the protocol number as a key, and a CflowdProtocolTableTrafficCounter 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 CflowdProtocolTable


typedef _CflowdProtocolTableMap_t::iterator iterator;

No documentation available.

  typedef _CflowdProtocolTableMap_t::iterator         iterator;

Back to the top of CflowdProtocolTable


typedef _CflowdProtocolTableMap_t::const_iterator const_iterator;

No documentation available.

  typedef _CflowdProtocolTableMap_t::const_iterator   const_iterator;

Back to the top of CflowdProtocolTable


int AddFlow(const CflowdRawFlow & flow);


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

  int AddFlow(const CflowdRawFlow & flow);

Back to the top of CflowdProtocolTable


istream & read(istream & is);


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

  istream & read(istream & is);

Back to the top of CflowdProtocolTable


int read(int fd);


-------------------------------------------------------------------------
int read(int fd)
.........................................................................
Reads the protocol 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 CflowdProtocolTable


ostream & write(ostream & os) const;


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

  ostream & write(ostream & os) const;

Back to the top of CflowdProtocolTable


int write(int fd) const;


-------------------------------------------------------------------------
int write(int fd) const
.........................................................................
Writes the protocol 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 CflowdProtocolTable


friend ostream& operator << (ostream& os, const CflowdProtocolTable & protocolTable);


-------------------------------------------------------------------------
friend ostream& operator << (ostream& os, const CflowdProtocolTable & protocolTable)
.........................................................................

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

  friend ostream& operator << (ostream& os,
                               const CflowdProtocolTable & protocolTable);

Back to the top of CflowdProtocolTable


All Members

public:
typedef _CflowdProtocolTableMap_t::iterator iterator;
typedef _CflowdProtocolTableMap_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 CflowdProtocolTable & protocolTable);
protected:

Back to the top of CflowdProtocolTable


Ancestors

Inheritance chain for CflowdProtocolTable:

Back to the top of CflowdProtocolTable


Descendants

Class is not inherited by any others.

Back to the top of CflowdProtocolTable


Generated from source by the Cocoon utilities on Tue Sep 22 04:08:58 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.