Lines Matching refs:hdr
96 int ServiceController::GetMsgHeader(MsgHeader& hdr) in GetMsgHeader() argument
102 int ret = m_communicationSocket->Read(reinterpret_cast<char *>(&hdr), sizeof(MsgHeader)); in GetMsgHeader()
110 int ServiceController::GetRqst(const MsgHeader& hdr, char* rqst, int expectedLen) in GetRqst() argument
112 if (hdr.len != expectedLen) { in GetRqst()
113 … std::cout << "Invalid MsgHeader! hdr.len:" << hdr.len << ", expectedLen:" << expectedLen << endl; in GetRqst()
116 int ret = m_communicationSocket->Read(rqst, hdr.len); in GetRqst()
860 MsgHeader hdr; in CommunicationLoop() local
861 int ret = GetMsgHeader(hdr); in CommunicationLoop()
865 IoctlCmd cmd = static_cast<IoctlCmd>(hdr.cmd); in CommunicationLoop()
874 RequestHandler<OutputRqst>(hdr, [this](const OutputRqst& rqst) { in CommunicationLoop()
880 RequestHandler<PersistStartRqst>(hdr, [this](const PersistStartRqst& rqst) { in CommunicationLoop()
886 RequestHandler<PersistStopRqst>(hdr, [this](const PersistStopRqst& rqst) { in CommunicationLoop()
892 RequestHandler<PersistQueryRqst>(hdr, [this](const PersistQueryRqst& rqst) { in CommunicationLoop()
898 RequestHandler<BufferSizeGetRqst>(hdr, [this](const BufferSizeGetRqst& rqst) { in CommunicationLoop()
904 RequestHandler<BufferSizeSetRqst>(hdr, [this](const BufferSizeSetRqst& rqst) { in CommunicationLoop()
910 RequestHandler<StatsQueryRqst>(hdr, [this](const StatsQueryRqst& rqst) { in CommunicationLoop()
916 RequestHandler<PersistRefreshRqst>(hdr, [this](const PersistRefreshRqst& rqst) { in CommunicationLoop()
922 RequestHandler<PersistClearRqst>(hdr, [this](const PersistClearRqst& rqst) { in CommunicationLoop()
928 RequestHandler<StatsClearRqst>(hdr, [this](const StatsClearRqst& rqst) { in CommunicationLoop()
934 RequestHandler<DomainFlowCtrlRqst>(hdr, [this](const DomainFlowCtrlRqst& rqst) { in CommunicationLoop()
940 RequestHandler<LogRemoveRqst>(hdr, [this](const LogRemoveRqst& rqst) { in CommunicationLoop()
946 RequestHandler<KmsgEnableRqst>(hdr, [this](const KmsgEnableRqst& rqst) { in CommunicationLoop()