OpenSDN source code
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agent_route.h File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <net/ethernet.h>
#include <base/address.h>
#include <base/lifetime.h>
#include <base/patricia.h>
#include <base/task_annotations.h>
#include <cmn/agent_cmn.h>
#include <cmn/agent.h>
#include <agent_types.h>
#include <route/route.h>
#include <route/table.h>
#include <oper/interface_common.h>
#include <oper/nexthop.h>
#include <oper/peer.h>
#include <oper/agent_types.h>
#include <oper/multicast.h>
#include <sandesh/sandesh_trace.h>
Include dependency graph for agent_route.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AgentRouteKey
 
struct  AgentRouteData
 
struct  RouteComparator
 
struct  NHComparator
 
struct  RouteTableWalkerState
 
class  AgentRouteTable
 Agent supports multiple route tables - Inet-unicast (IPv4/IPv6), Inet-multicast, bridge, EVPN (Type2/Type5). This base class contains common code for all types of route tables. More...
 
class  AgentRoute
 Base class for all Route entries in agent. More...
 
class  AgentRoutePrefix< PrefixType >
 This class defines interfaces for manipulating the prefix of a route stored in an Agent VRF table. More...
 

Macros

#define OPER_TRACE_ROUTE(obj,...)
 
#define OPER_TRACE_ROUTE_ENTRY(obj, table,...)
 
#define GETPEERNAME(peer)   (peer)? peer->GetName() : ""
 
#define AGENT_ROUTE_LOG(table, msg, route, vrf, peer_info)
 

Macro Definition Documentation

#define AGENT_ROUTE_LOG (   table,
  msg,
  route,
  vrf,
  peer_info 
)
Value:
do {\
AgentRouteLog::TraceMsg(table->GetOperDBTraceBuf(), __FILE__, __LINE__,\
msg, route, vrf, peer_info);\
} while (false)

Definition at line 399 of file agent_route.h.

#define GETPEERNAME (   peer)    (peer)? peer->GetName() : ""

Definition at line 398 of file agent_route.h.

#define OPER_TRACE_ROUTE (   obj,
  ... 
)
Value:
do {\
Oper##obj::TraceMsg(GetOperDBTraceBuf(), __FILE__, __LINE__, __VA_ARGS__);\
} while (false)

Definition at line 212 of file agent_route.h.

#define OPER_TRACE_ROUTE_ENTRY (   obj,
  table,
  ... 
)
Value:
do {\
Oper##obj::TraceMsg(table->GetOperDBTraceBuf(),\
__FILE__, __LINE__, __VA_ARGS__);\
} while (false)

Definition at line 217 of file agent_route.h.