Lines Matching refs:IcmpSession
38 static std::string ObjectID(IcmpSession* i) { return "(icmp_session)"; } in ObjectID()
41 uint16_t IcmpSession::kNextUniqueEchoId = 0;
42 const int IcmpSession::kTotalNumEchoRequests = 3;
43 const int IcmpSession::kEchoRequestIntervalSeconds = 1; // default for ping
46 const size_t IcmpSession::kTimeoutSeconds =
49 IcmpSession::IcmpSession(EventDispatcher* dispatcher) in IcmpSession() function in shill::IcmpSession
56 echo_reply_callback_(Bind(&IcmpSession::OnEchoReplyReceived, in IcmpSession()
63 IcmpSession::~IcmpSession() { in ~IcmpSession()
67 bool IcmpSession::Start(const IPAddress& destination, in Start()
82 Bind(&IcmpSession::OnEchoReplyError, weak_ptr_factory_.GetWeakPtr()))); in Start()
84 timeout_callback_.Reset(Bind(&IcmpSession::ReportResultAndStopSession, in Start()
90 dispatcher_->PostTask(Bind(&IcmpSession::TransmitEchoRequestTask, in Start()
96 void IcmpSession::Stop() { in Stop()
106 bool IcmpSession::AnyRepliesReceived(const IcmpSessionResult& result) { in AnyRepliesReceived()
116 bool IcmpSession::IsPacketLossPercentageGreaterThan( in IsPacketLossPercentageGreaterThan()
138 void IcmpSession::TransmitEchoRequestTask(const IPAddress& destination) { in TransmitEchoRequestTask()
157 Bind(&IcmpSession::TransmitEchoRequestTask, in TransmitEchoRequestTask()
163 void IcmpSession::OnEchoReplyReceived(InputData* data) { in OnEchoReplyReceived()
221 std::vector<base::TimeDelta> IcmpSession::GenerateIcmpResult() { in GenerateIcmpResult()
238 void IcmpSession::OnEchoReplyError(const std::string& error_msg) { in OnEchoReplyError()
244 void IcmpSession::ReportResultAndStopSession() { in ReportResultAndStopSession()