CflowdRawFlowConverter
[ libCfd | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Quick Index
Class Summary
class CflowdRawFlowConverter{
public:
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
Back to the top of CflowdRawFlowConverter
DESCRIPTION
---------------------------------------------------------------------------
class CflowdRawFlowConverter
---------------------------------------------------------------------------
This class is used to convert from a UDP flow packet from a Cisco into a form more suitable for general use. The normal way to do this would be to read the packet with recv(), look at the first two bytes for the version number, then pass some pointers into one of our ToFlowVector() members.
Note we have no data members in ths class, only member functions for converting flow-export packets to CflowdRawFlow vectors.
---------------------------------------------------------------------------
Back to the top of CflowdRawFlowConverter
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
No documentation available.
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
Back to the top of CflowdRawFlowConverter
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry) .........................................................................
Given the IP address of the Cisco that sent a v1 flow-export packet, a pointer to the header of the v1 flow-export packet, and a pointer to the first flow entry in the flow-export packet, appends raw flows to a vector of CflowdRawFlow objects.
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
Back to the top of CflowdRawFlowConverter
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
No documentation available.
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
Back to the top of CflowdRawFlowConverter
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry) .........................................................................
Given the IP address of the Cisco that sent a v5 flow-export packet, a pointer to the header of the v5 flow-export packet, and a pointer to the first flow entry in the flow-export packet, appends raw flows to a vector of CflowdRawFlow objects.
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
Back to the top of CflowdRawFlowConverter
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
No documentation available.
ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
Back to the top of CflowdRawFlowConverter
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry); .........................................................................
Given the IP address of the Cisco that sent a v6 flow-export packet, a pointer to the header of the v6 flow-export packet, and a pointer to the first flow entry in the flow-export packet, appends raw flows to a vector of CflowdRawFlow objects.
-------------------------------------------------------------------------
void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
Back to the top of CflowdRawFlowConverter
All Members
- public:
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV5_t * flowHeader, const CiscoFlowEntryV5_t * flowEntry);
- ToFlowVector(ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV6_t * flowHeader, const CiscoFlowEntryV6_t * flowEntry);
- void AddToFlowVector(vector<CflowdRawFlow> & flowVector, ipv4addr_t ciscoIpAddr, const CiscoFlowHeaderV1_t * flowHeader, const CiscoFlowEntryV1_t * flowEntry);
- protected:
Back to the top of CflowdRawFlowConverter
Ancestors
Class does not inherit from any other class.
Back to the top of CflowdRawFlowConverter
Descendants
Class is not inherited by any others.
Back to the top of CflowdRawFlowConverter
Generated from source by the Cocoon utilities on Tue Sep 22 04:08:59 1998 .
Report problems to jkotula@unimax.com