OpenSDN source code
|
#include <nh_kstate.h>
Public Member Functions | |
NHKState (KNHResp *obj, const std::string &resp_ctx, vr_nexthop_req &encoder, int id) | |
virtual void | SendResponse () |
virtual void | Handler () |
virtual void | SendNextRequest () |
const std::string | TypeToString (int type) const |
const std::string | FamilyToString (int family) const |
const std::string | FlagsToString (uint32_t flags) const |
const std::string | EncapFamilyToString (int family) const |
const std::string | EncapToString (const std::vector< signed char > &encap) const |
void | SetComponentNH (vr_nexthop_req *req, KNHInfo &info) |
![]() | |
KState (const std::string &s, Sandesh *obj) | |
void | EncodeAndSend (Sandesh &encoder) |
virtual void | Release () |
const std::string | response_context () const |
Sandesh * | response_object () const |
const boost::any & | more_context () const |
void | set_vr_response_code (int value) |
bool | MoreData () const |
const std::string | MacToString (const std::vector< signed char > &mac) const |
virtual void | IfMsgHandler (vr_interface_req *req) |
virtual void | NHMsgHandler (vr_nexthop_req *req) |
virtual void | RouteMsgHandler (vr_route_req *req) |
virtual void | MplsMsgHandler (vr_mpls_req *req) |
virtual void | MirrorMsgHandler (vr_mirror_req *req) |
virtual int | VrResponseMsgHandler (vr_response *r) |
virtual void | FlowMsgHandler (vr_flow_req *req) |
virtual void | VrfAssignMsgHandler (vr_vrf_assign_req *req) |
virtual void | VrfMsgHandler (vr_vrf_req *req) |
virtual void | VrfStatsMsgHandler (vr_vrf_stats_req *req) |
virtual void | DropStatsMsgHandler (vr_drop_stats_req *req) |
virtual void | VxLanMsgHandler (vr_vxlan_req *req) |
virtual void | VrouterOpsMsgHandler (vrouter_ops *req) |
virtual void | ForwardingClassMsgHandler (vr_fc_map_req *req) |
virtual void | QosConfigMsgHandler (vr_qos_map_req *req) |
![]() | |
AgentSandeshContext () | |
virtual | ~AgentSandeshContext () |
virtual void | FlowResponseHandler (vr_flow_response *req) |
virtual void | FlowTableInfoHandler (vr_flow_table_data *r) |
virtual void | BridgeTableInfoHandler (vr_bridge_table_data *r) |
virtual void | VrouterHugePageHandler (vr_hugepage_config *req) |
virtual void | SetErrno (int err) |
int | GetErrno () const |
void | set_ksync_io_ctx (const KSyncIoContext *ioc) |
const KSyncIoContext * | ksync_io_ctx () const |
![]() | |
virtual | ~SandeshContext () |
Additional Inherited Members | |
![]() | |
static const int | kMaxEntriesPerResponse = 100 |
![]() | |
SandeshContext () | |
![]() | |
std::string | response_context_ |
Sandesh * | response_object_ |
int | vr_response_code_ |
boost::any | more_context_ |
Definition at line 8 of file nh_kstate.h.
NHKState::NHKState | ( | KNHResp * | obj, |
const std::string & | resp_ctx, | ||
vr_nexthop_req & | encoder, | ||
int | id | ||
) |
Definition at line 15 of file nh_kstate.cc.
const string NHKState::EncapFamilyToString | ( | int | family | ) | const |
Definition at line 99 of file nh_kstate.cc.
const string NHKState::EncapToString | ( | const std::vector< signed char > & | encap | ) | const |
Definition at line 111 of file nh_kstate.cc.
const string NHKState::FamilyToString | ( | int | family | ) | const |
Definition at line 87 of file nh_kstate.cc.
const string NHKState::FlagsToString | ( | uint32_t | flags | ) | const |
Definition at line 124 of file nh_kstate.cc.
|
virtual |
Implements KState.
Definition at line 37 of file nh_kstate.cc.
|
virtual |
Implements KState.
Definition at line 28 of file nh_kstate.cc.
|
virtual |
Implements KState.
Definition at line 54 of file nh_kstate.cc.
void NHKState::SetComponentNH | ( | vr_nexthop_req * | req, |
KNHInfo & | info | ||
) |
Definition at line 206 of file nh_kstate.cc.
const string NHKState::TypeToString | ( | int | type | ) | const |
Definition at line 65 of file nh_kstate.cc.