OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
pkt_flow_info.cc File Reference
#include "base/os.h"
#include <arpa/inet.h>
#include <netinet/in.h>
#include "base/address_util.h"
#include "route/route.h"
#include "cmn/agent_cmn.h"
#include "init/agent_param.h"
#include "oper/ecmp.h"
#include "oper/interface_common.h"
#include "oper/metadata_ip.h"
#include "oper/nexthop.h"
#include "oper/route_common.h"
#include "oper/path_preference.h"
#include "oper/vrf.h"
#include "oper/sg.h"
#include "oper/global_vrouter.h"
#include "oper/operdb_init.h"
#include "oper/tunnel_nh.h"
#include "oper/bgp_as_service.h"
#include "oper/health_check.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_mgmt.h"
#include "pkt/flow_proto.h"
#include "pkt/pkt_sandesh_flow.h"
#include "cmn/agent_stats.h"
#include <vrouter/ksync/flowtable_ksync.h>
#include <vrouter/ksync/ksync_init.h>
#include <services/services_init.h>
#include <services/metadata_proxy.h>
Include dependency graph for pkt_flow_info.cc:

Go to the source code of this file.

Functions

static void LogError (const PktInfo *pkt, const PktFlowInfo *flow_info, const char *str)
 
static uint32_t NhToVrf (const NextHop *nh)
 
static bool IsVgwOrVmInterface (const Interface *intf)
 
static bool PickEcmpMember (const Agent *agent, const NextHop **nh, const PktInfo *pkt, PktFlowInfo *info, const EcmpLoadBalance &ecmp_load_balance)
 
static bool NhDecode (const Agent *agent, const NextHop *nh, const PktInfo *pkt, PktFlowInfo *info, PktControlInfo *in, PktControlInfo *out, bool force_vmport, const EcmpLoadBalance &ecmp_load_balance)
 
static bool RouteToOutInfo (const Agent *agent, const AgentRoute *rt, const PktInfo *pkt, PktFlowInfo *info, PktControlInfo *in, PktControlInfo *out)
 
static const VnEntryInterfaceToVn (const Interface *intf)
 
static bool IntfHasFloatingIp (PktFlowInfo *pkt_info, const Interface *intf, Address::Family family)
 
static bool IsLinkLocalRoute (Agent *agent, const AgentRoute *rt, uint32_t sport, uint32_t dport)
 
static const VnListTypeRouteToVn (const AgentRoute *rt)
 
bool IsValidationDisabled (Agent *agent, const PktInfo *pkt, const Interface *interface)
 

Function Documentation

static const VnEntry* InterfaceToVn ( const Interface intf)
static

Definition at line 460 of file pkt_flow_info.cc.

Here is the call graph for this function:

static bool IntfHasFloatingIp ( PktFlowInfo pkt_info,
const Interface intf,
Address::Family  family 
)
static

Definition at line 468 of file pkt_flow_info.cc.

Here is the call graph for this function:

static bool IsLinkLocalRoute ( Agent agent,
const AgentRoute rt,
uint32_t  sport,
uint32_t  dport 
)
static

Definition at line 476 of file pkt_flow_info.cc.

Here is the call graph for this function:

bool IsValidationDisabled ( Agent agent,
const PktInfo pkt,
const Interface interface 
)

Definition at line 1750 of file pkt_flow_info.cc.

Here is the call graph for this function:

static bool IsVgwOrVmInterface ( const Interface intf)
static

Definition at line 162 of file pkt_flow_info.cc.

Here is the call graph for this function:

static void LogError ( const PktInfo pkt,
const PktFlowInfo flow_info,
const char *  str 
)
static

Definition at line 49 of file pkt_flow_info.cc.

static bool NhDecode ( const Agent agent,
const NextHop nh,
const PktInfo pkt,
PktFlowInfo info,
PktControlInfo in,
PktControlInfo out,
bool  force_vmport,
const EcmpLoadBalance ecmp_load_balance 
)
static

Definition at line 246 of file pkt_flow_info.cc.

Here is the call graph for this function:

static uint32_t NhToVrf ( const NextHop nh)
static

Definition at line 133 of file pkt_flow_info.cc.

Here is the call graph for this function:

static bool PickEcmpMember ( const Agent agent,
const NextHop **  nh,
const PktInfo pkt,
PktFlowInfo info,
const EcmpLoadBalance ecmp_load_balance 
)
static

Definition at line 174 of file pkt_flow_info.cc.

Here is the call graph for this function:

static bool RouteToOutInfo ( const Agent agent,
const AgentRoute rt,
const PktInfo pkt,
PktFlowInfo info,
PktControlInfo in,
PktControlInfo out 
)
static

Definition at line 440 of file pkt_flow_info.cc.

Here is the call graph for this function:

static const VnListType* RouteToVn ( const AgentRoute rt)
static

Definition at line 524 of file pkt_flow_info.cc.

Here is the call graph for this function: