Home
last modified time | relevance | path

Searched refs:PingSender (Results 1 – 7 of 7) sorted by relevance

/openthread-latest/src/cli/
Dcli_ping.cpp47 PingSender::PingSender(otInstance *aInstance, OutputImplementer &aOutputImplementer) in PingSender() function in ot::Cli::PingSender
53 otError PingSender::Process(Arg aArgs[]) in Process()
139 config.mReplyCallback = PingSender::HandlePingReply; in Process()
140 config.mStatisticsCallback = PingSender::HandlePingStatistics; in Process()
156 otError PingSender::ParsePingInterval(const Arg &aArg, uint32_t &aInterval) in ParsePingInterval()
203 void PingSender::HandlePingReply(const otPingSenderReply *aReply, void *aContext) in HandlePingReply()
205 static_cast<PingSender *>(aContext)->HandlePingReply(aReply); in HandlePingReply()
208 void PingSender::HandlePingReply(const otPingSenderReply *aReply) in HandlePingReply()
215 void PingSender::HandlePingStatistics(const otPingSenderStatistics *aStatistics, void *aContext) in HandlePingStatistics()
217 static_cast<PingSender *>(aContext)->HandlePingStatistics(aStatistics); in HandlePingStatistics()
[all …]
Dcli_ping.hpp52 class PingSender : private Utils class
61 PingSender(otInstance *aInstance, OutputImplementer &aOutputImplementer);
Dcli.hpp118 friend class PingSender;
409 PingSender mPing;
/openthread-latest/src/core/utils/
Dping_sender.hpp60 class PingSender : public InstanceLocator, private NonCopyable class
91 friend class PingSender;
138 explicit PingSender(Instance &aInstance);
167 using PingTimer = TimerMilliIn<PingSender, &PingSender::HandleTimer>;
179 DefineCoreType(otPingSenderReply, Utils::PingSender::Reply);
180 DefineCoreType(otPingSenderConfig, Utils::PingSender::Config);
181 DefineCoreType(otPingSenderStatistics, Utils::PingSender::Statistics);
Dping_sender.cpp43 void PingSender::Config::SetUnspecifiedToDefault(void) in SetUnspecifiedToDefault()
66 void PingSender::Config::InvokeReplyCallback(const Reply &aReply) const in InvokeReplyCallback()
75 void PingSender::Config::InvokeStatisticsCallback(const Statistics &aStatistics) const in InvokeStatisticsCallback()
84 PingSender::PingSender(Instance &aInstance) in PingSender() function in ot::Utils::PingSender
89 , mIcmpHandler(PingSender::HandleIcmpReceive, this) in PingSender()
94 Error PingSender::Ping(const Config &aConfig) in Ping()
115 void PingSender::Stop(void) in Stop()
121 void PingSender::SendPing(void) in SendPing()
167 void PingSender::HandleTimer(void) in HandleTimer()
179 void PingSender::HandleIcmpReceive(void *aContext, in HandleIcmpReceive()
[all …]
/openthread-latest/src/core/api/
Dping_sender_api.cpp44 return AsCoreType(aInstance).Get<Utils::PingSender>().Ping(AsCoreType(aConfig)); in otPingSenderPing()
47 void otPingSenderStop(otInstance *aInstance) { AsCoreType(aInstance).Get<Utils::PingSender>().Stop(… in otPingSenderStop()
/openthread-latest/src/core/instance/
Dinstance.hpp673 Utils::PingSender mPingSender;
989 template <> inline Utils::PingSender &Instance::Get(void) { return mPingSender; } in Get()