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


CflowdNextHopTableTrafficCounter Documentation

CflowdNextHopTableTrafficCounter

All class functions are defined inline.


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

Quick Index

DESCRIPTION

Class Summary

class CflowdNextHopTableTrafficCounter

{

public:
CflowdNextHopTableTrafficCounter() ;
uint64_t Pkts() const ;
uint64_t Pkts(uint64_t pkts) ;
uint64_t AddPkts(uint64_t pkts) ;
uint64_t Bytes() const ;
uint64_t Bytes(uint64_t bytes) ;
uint64_t AddBytes(uint64_t bytes) ;
istream & read(istream & is) ;
int read(int fd) ;
ostream & write(ostream & os) const ;
int write(int fd) const ;
protected:
}; // CflowdNextHopTableTrafficCounter

Back to the top of CflowdNextHopTableTrafficCounter


DESCRIPTION


---------------------------------------------------------------------------
class CflowdNextHopTableTrafficCounter
---------------------------------------------------------------------------
This class is used to hold traffic (packet and byte) counters for an IP nexthop entry in cflowd.
---------------------------------------------------------------------------

Back to the top of CflowdNextHopTableTrafficCounter


CflowdNextHopTableTrafficCounter() ;


-------------------------------------------------------------------------
inline CflowdNextHopTableTrafficCounter()
.........................................................................
constructor
-------------------------------------------------------------------------

  inline CflowdNextHopTableTrafficCounter()
                                                  
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t Pkts() const ;


-------------------------------------------------------------------------
inline uint64_t Pkts() const
.........................................................................
Returns the packet counter.
-------------------------------------------------------------------------

  inline uint64_t Pkts() const
                                
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t Pkts(uint64_t pkts) ;


-------------------------------------------------------------------------
inline uint64_t Pkts(uint64_t pkts)
.........................................................................
Sets and returns the packet counter.
-------------------------------------------------------------------------

  inline uint64_t Pkts(uint64_t pkts)
                                                        
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t AddPkts(uint64_t pkts) ;


-------------------------------------------------------------------------
inline uint64_t AddPkts(uint64_t pkts)
.........................................................................
Adds pkts to the packet counter. Returns the new value of the packet counter.
-------------------------------------------------------------------------

  inline uint64_t AddPkts(uint64_t pkts)
                                                         
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t Bytes() const ;


-------------------------------------------------------------------------
inline uint64_t Bytes() const
.........................................................................
Returns the byte counter.
-------------------------------------------------------------------------

  inline uint64_t Bytes() const
                                 
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t Bytes(uint64_t bytes) ;


-------------------------------------------------------------------------
inline uint64_t Bytes(uint64_t bytes)
.........................................................................
Sets and returns the byte counter.
-------------------------------------------------------------------------

  inline uint64_t Bytes(uint64_t bytes)
                                                           
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


uint64_t AddBytes(uint64_t bytes) ;


-------------------------------------------------------------------------
inline uint64_t AddBytes(uint64_t bytes)
.........................................................................
Adds bytes to the byte counter. Returns the new value of the byte counter.
-------------------------------------------------------------------------

  inline uint64_t AddBytes(uint64_t bytes)
                                                            
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


istream & read(istream & is) ;


-------------------------------------------------------------------------
inline istream & read(istream & is)
.........................................................................
Reads the counter from an istream. Returns the istream.
-------------------------------------------------------------------------

  inline istream & read(istream & is)
                                                                                                                                                                       
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


int read(int fd) ;


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

  inline int read(int fd)
                                                                                                                                                                                                                                                                                                                                                                                                          
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


ostream & write(ostream & os) const ;


-------------------------------------------------------------------------
inline ostream & write(ostream & os) const
.........................................................................
Writes the counter to an ostream. Returns the ostream.
-------------------------------------------------------------------------

  inline ostream & write(ostream & os) const
                                                                                                                                                                         
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


int write(int fd) const ;


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

  inline int write(int fd) const
                                                                                                                                                                                                                                                                                                                                                                                                               
;

Function is currently defined inline.


Back to the top of CflowdNextHopTableTrafficCounter


All Members

public:
uint64_t Pkts() const ;
uint64_t Pkts(uint64_t pkts) ;
uint64_t AddPkts(uint64_t pkts) ;
uint64_t Bytes() const ;
uint64_t Bytes(uint64_t bytes) ;
uint64_t AddBytes(uint64_t bytes) ;
istream & read(istream & is) ;
int read(int fd) ;
ostream & write(ostream & os) const ;
int write(int fd) const ;
protected:

Back to the top of CflowdNextHopTableTrafficCounter


Ancestors

Class does not inherit from any other class.

Back to the top of CflowdNextHopTableTrafficCounter


Descendants

Class is not inherited by any others.

Back to the top of CflowdNextHopTableTrafficCounter


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.