5 #ifndef vnsw_agent_diag_proto_hpp
6 #define vnsw_agent_diag_proto_hpp
14 class SegmentHealthCheckPktStatsResp;
19 typedef std::map<uint32_t, SegmentHealthCheckPkt *>
SessionMap;
20 typedef std::pair<uint32_t, SegmentHealthCheckPkt *>
SessionPair;
47 boost::asio::io_context &io);
uint64_t requests_received
void IncrementDiagStats(uint32_t itf_id, DiagStatsType type)
const DiagStatsMap & stats() const
std::map< uint32_t, SegmentHealthCheckPkt * > SessionMap
std::map< uint32_t, DiagStats > DiagStatsMap
std::pair< uint32_t, SegmentHealthCheckPkt * > SessionPair
std::pair< uint32_t, DiagStats > DiagStatsPair
void FillSandeshHealthCheckResponse(SegmentHealthCheckPktStatsResp *resp)
DISALLOW_COPY_AND_ASSIGN(DiagProto)
bool SegmentHealthCheckProcess(HealthCheckTable::HealthCheckServiceAction action, HealthCheckInstanceService *service)
uint64_t replies_received
DiagProto(Agent *agent, boost::asio::io_context &io)
ProtoHandler * AllocProtoHandler(boost::shared_ptr< PktInfo > info, boost::asio::io_context &io)