OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
inet_interface.cc File Reference
#include <sys/types.h>
#include <net/ethernet.h>
#include <boost/uuid/uuid_io.hpp>
#include "base/address_util.h"
#include "base/logging.h"
#include "db/db.h"
#include "db/db_entry.h"
#include "db/db_table.h"
#include "ifmap/ifmap_node.h"
#include <cfg/cfg_init.h>
#include <cmn/agent.h>
#include <init/agent_param.h>
#include <oper/operdb_init.h>
#include <oper/route_common.h>
#include <oper/vm.h>
#include <oper/vn.h>
#include <oper/vrf.h>
#include <oper/nexthop.h>
#include <oper/mpls.h>
#include <oper/mirror_table.h>
#include <oper/interface_common.h>
#include <oper/vrf_assign.h>
#include <oper/vxlan.h>
#include <vnc_cfg_types.h>
#include <oper/agent_sandesh.h>
#include <oper/sg.h>
#include "sandesh/sandesh_trace.h"
#include "sandesh/common/vns_types.h"
#include "sandesh/common/vns_constants.h"
#include <resource_manager/resource_manager.h>
#include <resource_manager/resource_table.h>
#include <resource_manager/mpls_index.h>
Include dependency graph for inet_interface.cc:

Go to the source code of this file.

Functions

static void AddDefaultRoute (Agent *agent, InetUnicastAgentRouteTable *table, const VrfEntry *vrf, const Interface *xconnect, const Ip4Address &gw, const string &vn_name)
 
static void DeleteDefaultRoute (Agent *agent, InetUnicastAgentRouteTable *table, const VrfEntry *vrf, const Ip4Address &addr)
 
static void AddHostRoutes (Agent *agent, InetUnicastAgentRouteTable *table, const VrfEntry *vrf, const string &interface, const Interface *xconnect, const Ip4Address &addr, int plen, const string &vn_name)
 
static void DeleteHostRoutes (Agent *agent, InetUnicastAgentRouteTable *table, const VrfEntry *vrf, const Interface *xconnect, const Ip4Address &addr, int plen)
 

Function Documentation

static void AddDefaultRoute ( Agent agent,
InetUnicastAgentRouteTable table,
const VrfEntry vrf,
const Interface xconnect,
const Ip4Address gw,
const string &  vn_name 
)
static

Definition at line 147 of file inet_interface.cc.

Here is the call graph for this function:

static void AddHostRoutes ( Agent agent,
InetUnicastAgentRouteTable table,
const VrfEntry vrf,
const string &  interface,
const Interface xconnect,
const Ip4Address addr,
int  plen,
const string &  vn_name 
)
static

Definition at line 181 of file inet_interface.cc.

Here is the call graph for this function:

static void DeleteDefaultRoute ( Agent agent,
InetUnicastAgentRouteTable table,
const VrfEntry vrf,
const Ip4Address addr 
)
static

Definition at line 172 of file inet_interface.cc.

Here is the call graph for this function:

static void DeleteHostRoutes ( Agent agent,
InetUnicastAgentRouteTable table,
const VrfEntry vrf,
const Interface xconnect,
const Ip4Address addr,
int  plen 
)
static

Definition at line 228 of file inet_interface.cc.

Here is the call graph for this function: