OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vnswif_listener_base.cc File Reference
#include <assert.h>
#include <base/logging.h>
#include <base/util.h>
#include <cmn/agent_cmn.h>
#include <init/agent_param.h>
#include <init/agent_init.h>
#include <cfg/cfg_init.h>
#include <oper/route_common.h>
#include <oper/mirror_table.h>
#include <ksync/ksync_index.h>
#include <vrouter/ksync/interface_ksync.h>
#include "vrouter/ksync/vnswif_listener_base.h"
#include "net/if.h"
#include <oper/physical_interface.h>
#include <string>
Include dependency graph for vnswif_listener_base.cc:

Go to the source code of this file.

Macros

#define INDEX_INTERFACE_NAME   0
 
#define INDEX_INTERFACE_DRV_NAME   1
 
#define INDEX_INTERFACE_ID   2
 
#define NL_MSG_PARAMS   3
 

Functions

void RouterIdDepInit (Agent *agent)
 
SandeshTraceBufferPtr VnswIfTraceBuf (SandeshTraceBufferCreate(VNSWIF_TRACE_BUF, 2000))
 
static void InterfaceResync (Agent *agent, uint32_t id, bool active, bool link_status)
 
static string EventTypeToString (uint32_t type)
 

Macro Definition Documentation

#define INDEX_INTERFACE_DRV_NAME   1

Definition at line 23 of file vnswif_listener_base.cc.

#define INDEX_INTERFACE_ID   2

Definition at line 24 of file vnswif_listener_base.cc.

#define INDEX_INTERFACE_NAME   0

Definition at line 22 of file vnswif_listener_base.cc.

#define NL_MSG_PARAMS   3

Definition at line 25 of file vnswif_listener_base.cc.

Function Documentation

static string EventTypeToString ( uint32_t  type)
static

Definition at line 624 of file vnswif_listener_base.cc.

static void InterfaceResync ( Agent agent,
uint32_t  id,
bool  active,
bool  link_status 
)
static

Definition at line 256 of file vnswif_listener_base.cc.

Here is the call graph for this function:

void RouterIdDepInit ( Agent agent)

Definition at line 45 of file controller/src/vnsw/agent/contrail/main.cc.

Here is the call graph for this function: