OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
flow_proto.cc File Reference
#include <base/address_util.h>
#include <boost/functional/hash.hpp>
#include <init/agent_param.h>
#include <cmn/agent_stats.h>
#include <oper/agent_profile.h>
#include <vrouter/ksync/flowtable_ksync.h>
#include <vrouter/ksync/ksync_init.h>
#include <vrouter/ksync/ksync_flow_index_manager.h>
#include "vrouter/flow_stats/flow_stats_collector.h"
#include "flow_proto.h"
#include "flow_mgmt/flow_mgmt_dbclient.h"
#include "flow_mgmt.h"
#include "flow_event.h"
#include <strings.h>
#include "flow_entry.h"
Include dependency graph for flow_proto.cc:

Go to the source code of this file.

Functions

static void UpdateStats (FlowEvent *event, FlowStats *stats)
 
static std::size_t HashCombine (std::size_t hash, uint64_t val)
 
static std::size_t HashIp (std::size_t hash, const IpAddress &ip)
 
static void SetFlowEventQueueStats (Agent *agent, const FlowEventQueueBase::Queue *queue, ProfileData::WorkQueueStats *stats)
 
static void SetFlowMgmtQueueStats (Agent *agent, const FlowMgmtManager::FlowMgmtQueue *queue, ProfileData::WorkQueueStats *stats)
 
static void SetPktHandlerQueueStats (Agent *agent, const PktHandler::PktHandlerQueue *queue, ProfileData::WorkQueueStats *stats)
 

Function Documentation

static std::size_t HashCombine ( std::size_t  hash,
uint64_t  val 
)
static

Definition at line 124 of file flow_proto.cc.

static std::size_t HashIp ( std::size_t  hash,
const IpAddress ip 
)
static

Definition at line 129 of file flow_proto.cc.

Here is the call graph for this function:

static void SetFlowEventQueueStats ( Agent agent,
const FlowEventQueueBase::Queue queue,
ProfileData::WorkQueueStats stats 
)
static

Definition at line 820 of file flow_proto.cc.

Here is the call graph for this function:

static void SetFlowMgmtQueueStats ( Agent agent,
const FlowMgmtManager::FlowMgmtQueue queue,
ProfileData::WorkQueueStats stats 
)
static

Definition at line 836 of file flow_proto.cc.

Here is the call graph for this function:

static void SetPktHandlerQueueStats ( Agent agent,
const PktHandler::PktHandlerQueue queue,
ProfileData::WorkQueueStats stats 
)
static

Definition at line 851 of file flow_proto.cc.

Here is the call graph for this function:

void UpdateStats ( FlowEvent event,
FlowStats stats 
)
static

Definition at line 785 of file flow_proto.cc.

Here is the call graph for this function: