#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"
Go to the source code of this file.
|
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) |
|
static bool IsLess |
( |
const ShowRoute & |
lhs, |
|
|
const ShowRoute & |
rhs, |
|
|
const BgpSandeshContext * |
bsc, |
|
|
const string & |
table_name |
|
) |
| |
|
static |
static bool IsLess |
( |
const ShowRouteTable & |
lhs, |
|
|
const ShowRouteTable & |
rhs, |
|
|
const BgpSandeshContext * |
bsc, |
|
|
const string & |
table_name |
|
) |
| |
|
static |
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 |
|
) |
| |