OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bgp_show_route.cc File Reference
#include "bgp/bgp_sandesh.h"
#include "bgp/bgp_show_route.h"
#include <boost/assign/list_of.hpp>
#include <sandesh/request_pipeline.h>
#include "base/regex.h"
#include "bgp/bgp_peer_internal_types.h"
#include "bgp/bgp_route.h"
#include "bgp/bgp_server.h"
#include "bgp/bgp_table.h"
#include "bgp/routing-instance/routing_instance.h"
Include dependency graph for bgp_show_route.cc:

Go to the source code of this file.

Functions

static bool IsLess (const ShowRoute &lhs, const ShowRoute &rhs, const BgpSandeshContext *bsc, const string &table_name)
 
static bool IsLess (const ShowRouteTable &lhs, const ShowRouteTable &rhs, const BgpSandeshContext *bsc, const string &table_name)
 
template<class T >
void MergeSort (vector< T > *result, vector< const vector< T > * > *input, int limit, const BgpSandeshContext *bsc, const string &table_name)
 
int MergeValues (ShowRoute *result, vector< const ShowRoute * > *input, int limit, const BgpSandeshContext *bsc)
 
int MergeValues (ShowRouteTable *result, vector< const ShowRouteTable * > *input, int limit, const BgpSandeshContext *bsc)
 

Function Documentation

static bool IsLess ( const ShowRoute &  lhs,
const ShowRoute &  rhs,
const BgpSandeshContext bsc,
const string &  table_name 
)
static

Definition at line 23 of file bgp_show_route.cc.

Here is the call graph for this function:

static bool IsLess ( const ShowRouteTable &  lhs,
const ShowRouteTable &  rhs,
const BgpSandeshContext bsc,
const string &  table_name 
)
static

Definition at line 39 of file bgp_show_route.cc.

template<class T >
void MergeSort ( vector< T > *  result,
vector< const vector< T > * > *  input,
int  limit,
const BgpSandeshContext bsc,
const string &  table_name 
)

Definition at line 94 of file bgp_show_route.cc.

Here is the call graph for this function:

int MergeValues ( ShowRoute *  result,
vector< const ShowRoute * > *  input,
int  limit,
const BgpSandeshContext bsc 
)

Definition at line 54 of file bgp_show_route.cc.

int MergeValues ( ShowRouteTable *  result,
vector< const ShowRouteTable * > *  input,
int  limit,
const BgpSandeshContext bsc 
)

Definition at line 61 of file bgp_show_route.cc.

Here is the call graph for this function: