Home
last modified time | relevance | path

Searched refs:ShouldUsePlatformUdp (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/src/core/net/
Dudp6.cpp154 return aSocket.ShouldUsePlatformUdp() ? otPlatUdpSocket(&aSocket) : kErrorNone; in Open()
159 return aSocket.ShouldUsePlatformUdp() ? otPlatUdpClose(&aSocket) : kErrorNone; in Close()
164 return aSocket.ShouldUsePlatformUdp() ? otPlatUdpBind(&aSocket) : kErrorNone; in Bind()
169 …return aSocket.ShouldUsePlatformUdp() ? otPlatUdpBindToNetif(&aSocket, MapEnum(aSocket.GetNetifId(… in BindToNetif()
174 return aSocket.ShouldUsePlatformUdp() ? otPlatUdpConnect(&aSocket) : kErrorNone; in Connect()
179 OT_ASSERT(aSocket.ShouldUsePlatformUdp()); in Send()
186 …return aSocket.ShouldUsePlatformUdp() ? otPlatUdpJoinMulticastGroup(&aSocket, MapEnum(aNetifId), &… in JoinMulticastGroup()
192 …return aSocket.ShouldUsePlatformUdp() ? otPlatUdpLeaveMulticastGroup(&aSocket, MapEnum(aNetifId), … in LeaveMulticastGroup()
349 if (aSocket.ShouldUsePlatformUdp()) in SendTo()
Dudp6.hpp152 bool ShouldUsePlatformUdp(void) const { return GetNetifId() != kNetifThreadInternal; } in ShouldUsePlatformUdp() function in ot::Ip6::Udp::SocketHandle