13 vr_route_req &req,
int id,
int family_id,
sandesh_op::type op_code,
int prefix_size) :
14 KState(resp_ctx, obj), family_id_(family_id), op_code_(op_code), prefix_(prefix_size, 0) {
20 req.set_rtr_vrf_id(
id);
22 if(op_code_ == sandesh_op::DUMP)
23 req.set_rtr_prefix_len(0);
24 req.set_h_op(op_code_);
57 req.set_rtr_mac(rctx->
marker);
61 req.set_rtr_marker(rctx->
marker);
78 unsigned family = nh_family;
97 if (flags & VR_RT_LABEL_VALID_FLAG) {
101 if (flags & VR_RT_ARP_PROXY_FLAG) {
std::string response_context_
virtual void SendNextRequest()
RouteKState(KRouteResp *obj, const std::string &resp_ctx, vr_route_req &encoder, int id, int family_id, sandesh_op::type op_code, int prefix_size)
sandesh_op::type op_code_
const std::string LabelFlagsToString(int flags) const
Sandesh * response_object_
std::vector< int8_t > marker
virtual void SendResponse()
const std::string FamilyToString(int family) const
void EncodeAndSend(Sandesh &encoder)
std::vector< int8_t > prefix_
void InitEncoder(vr_route_req &req, int id, sandesh_op::type op_code) const