CflowdTableRequest
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdTableRequest{
public:
- CflowdTableRequest() ;
- ipv4addr_t RouterIpAddr() const ;
- ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) ;
- uint16_t TableIndex() const ;
- uint16_t TableIndex(uint16_t tableIndex) ;
- int Read(int fd);
- int Write(int fd) const;
- ipv4addr_t RouterIpAddr() const ;
Back to the top of CflowdTableRequest
DESCRIPTION
---------------------------------------------------------------------------
class CflowdTableRequest
---------------------------------------------------------------------------
This class is used by clients of cflowd on the local host. It abstracts a request for one of the tables being held in cflowd.
---------------------------------------------------------------------------
Back to the top of CflowdTableRequest
CflowdTableRequest() ;
-------------------------------------------------------------------------
inline CflowdTableRequest() .........................................................................
constructor
-------------------------------------------------------------------------
inline CflowdTableRequest() ;
Function is currently defined inline.
Back to the top of CflowdTableRequest
ipv4addr_t RouterIpAddr() const ;
-------------------------------------------------------------------------
inline ipv4addr_t RouterIpAddr() const .........................................................................
Returns the IP address of the router for which the table request was made.
-------------------------------------------------------------------------
inline ipv4addr_t RouterIpAddr() const ;
Function is currently defined inline.
Back to the top of CflowdTableRequest
ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) ;
-------------------------------------------------------------------------
inline ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) .........................................................................
Sets and returns the IP address of the router for which the table request will be made.
-------------------------------------------------------------------------
inline ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) ;
Function is currently defined inline.
Back to the top of CflowdTableRequest
uint16_t TableIndex() const ;
-------------------------------------------------------------------------
inline uint16_t TableIndex() const .........................................................................
Returns the table index of the request. Normally this will only have a single bit set, indicating a single table is being retrieved. However, it may have multiple bits set, in which case cflowd will respond with multiple tables.
-------------------------------------------------------------------------
inline uint16_t TableIndex() const ;
Function is currently defined inline.
Back to the top of CflowdTableRequest
uint16_t TableIndex(uint16_t tableIndex) ;
-------------------------------------------------------------------------
inline uint16_t TableIndex(uint16_t tableIndex) .........................................................................
Sets and returns the table index of the request. Normally only a single bit of the index will be set, indicating a single table is to be retrieved. However, it may have multiple bits set, in which case cflowd will respond with multiple tables.
-------------------------------------------------------------------------
inline uint16_t TableIndex(uint16_t tableIndex) ;
Function is currently defined inline.
Back to the top of CflowdTableRequest
int Read(int fd);
-------------------------------------------------------------------------
int Read(int fd) .........................................................................
Reads a table request from a file descriptor. Returns the number of bytes read on success, -1 on failure.
-------------------------------------------------------------------------
int Read(int fd);
Back to the top of CflowdTableRequest
int Write(int fd) const;
-------------------------------------------------------------------------
int Write(int fd) const .........................................................................
Writes a table request 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 CflowdTableRequest
All Members
- public:
- ipv4addr_t RouterIpAddr() const ;
- ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) ;
- uint16_t TableIndex() const ;
- uint16_t TableIndex(uint16_t tableIndex) ;
- int Read(int fd);
- int Write(int fd) const;
- ipv4addr_t RouterIpAddr(ipv4addr_t routerIpAddr) ;
- protected:
Back to the top of CflowdTableRequest
Ancestors
Class does not inherit from any other class.
Back to the top of CflowdTableRequest
Descendants
Class is not inherited by any others.
Back to the top of CflowdTableRequest
Generated from source by the Cocoon utilities on Tue Sep 22 04:08:59 1998 .
Report problems to jkotula@unimax.com