Lines Matching refs:ec
87 void MctpRequester::processRecvMsg(const boost::system::error_code& ec, in processRecvMsg() argument
112 if (ec) in processRecvMsg()
116 "EC", ec.value(), "ER", ec.message()); in processRecvMsg()
117 handleResult(eid, static_cast<std::error_code>(ec), {}); in processRecvMsg()
172 uint8_t eid, const boost::system::error_code& ec, size_t /* length */) in handleSendMsgCompletion() argument
174 if (ec) in handleSendMsgCompletion()
178 "EC", ec.value(), "ER", ec.message()); in handleSendMsgCompletion()
179 handleResult(eid, static_cast<std::error_code>(ec), {}); in handleSendMsgCompletion()
197 expiryTimer.async_wait([this, eid](const boost::system::error_code& ec) { in handleSendMsgCompletion() argument
198 if (ec != boost::asio::error::operation_aborted) in handleSendMsgCompletion()
227 static bool isFatalError(const std::error_code& ec) in isFatalError() argument
229 return ec && in isFatalError()
230 (ec != std::errc::timed_out && ec != std::errc::host_unreachable); in isFatalError()
233 void MctpRequester::handleResult(uint8_t eid, const std::error_code& ec, in handleResult() argument
250 reqCtx.callback(ec, buffer); // Call the original callback in handleResult()
252 if (isFatalError(ec)) in handleResult()
266 "eid {} encountered a fatal error: {}", eid, ec.message())); in handleResult()