OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
flow_entry.cc File Reference
#include <vector>
#include <bitset>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <base/os.h>
#include <string>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/assign/list_of.hpp>
#include <boost/unordered_map.hpp>
#include <sandesh/sandesh_trace.h>
#include <base/address_util.h>
#include <pkt/flow_table.h>
#include <vrouter/flow_stats/flow_stats_collector.h>
#include <vrouter/ksync/ksync_init.h>
#include <vrouter/ksync/ksync_flow_index_manager.h>
#include <route/route.h>
#include <cmn/agent_cmn.h>
#include <oper/interface_common.h>
#include <oper/nexthop.h>
#include <oper/tunnel_nh.h>
#include <init/agent_param.h>
#include <cmn/agent_stats.h>
#include <oper/route_common.h>
#include <oper/vrf.h>
#include <oper/vm.h>
#include <oper/sg.h>
#include <oper/qos_config.h>
#include <oper/global_vrouter.h>
#include <filter/packet_header.h>
#include <filter/acl.h>
#include <pkt/proto.h>
#include <pkt/proto_handler.h>
#include <pkt/pkt_handler.h>
#include <pkt/flow_proto.h>
#include <pkt/pkt_types.h>
#include <pkt/pkt_sandesh_flow.h>
#include <pkt/flow_mgmt/flow_entry_info.h>
#include <pkt/flow_mgmt.h>
#include <pkt/flow_event.h>
#include <pkt/flow_entry.h>
#include <uve/flow_uve_stats_request.h>
Include dependency graph for flow_entry.cc:

Go to the source code of this file.

Functions

static std::vector< std::string > MakeList (const VnListType &ilist)
 
void intrusive_ptr_add_ref (FlowEntry *fe)
 
void intrusive_ptr_release (FlowEntry *fe)
 
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 SetRpfFieldsInternal (FlowEntry *flow, const AgentRoute *rt)
 
static bool CopySgEntries (const VmInterface *vm_port, bool ingress_acl, std::list< MatchAclParams > &list)
 
void SetActionStr (const FlowAction &action_info, std::vector< ActionStr > &action_str_l)
 
static void SetAclListAclAction (const std::list< MatchAclParams > &acl_l, std::vector< AclAction > &acl_action_l, std::string &acl_type)
 
static void SetAclListAceId (const AclDBEntry *acl, const MatchAclParamsList &acl_l, std::vector< AceId > &ace_l)
 
static std::string EventToString (FlowEventLog::Event event, std::string &event_str)
 

Function Documentation

static bool CopySgEntries ( const VmInterface vm_port,
bool  ingress_acl,
std::list< MatchAclParams > &  list 
)
static

Definition at line 1976 of file flow_entry.cc.

Here is the call graph for this function:

static std::string EventToString ( FlowEventLog::Event  event,
std::string &  event_str 
)
static

Definition at line 3405 of file flow_entry.cc.

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

Definition at line 593 of file flow_entry.cc.

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

Definition at line 598 of file flow_entry.cc.

Here is the call graph for this function:

void intrusive_ptr_add_ref ( FlowEntry fe)

Definition at line 566 of file flow_entry.cc.

void intrusive_ptr_release ( FlowEntry fe)

Definition at line 570 of file flow_entry.cc.

Here is the call graph for this function:

static std::vector<std::string> MakeList ( const VnListType ilist)
static

Definition at line 330 of file flow_entry.cc.

static void SetAclListAceId ( const AclDBEntry acl,
const MatchAclParamsList acl_l,
std::vector< AceId > &  ace_l 
)
static

Definition at line 3270 of file flow_entry.cc.

static void SetAclListAclAction ( const std::list< MatchAclParams > &  acl_l,
std::vector< AclAction > &  acl_action_l,
std::string &  acl_type 
)
static

Definition at line 3055 of file flow_entry.cc.

Here is the call graph for this function:

void SetActionStr ( const FlowAction action_info,
std::vector< ActionStr > &  action_str_l 
)

Definition at line 3015 of file flow_entry.cc.

Here is the call graph for this function:

static void SetRpfFieldsInternal ( FlowEntry flow,
const AgentRoute rt 
)
static

Definition at line 1186 of file flow_entry.cc.

Here is the call graph for this function: