Home
last modified time | relevance | path

Searched refs:otUdpSocket (Results 1 – 9 of 9) sorted by relevance

/openthread-latest/include/openthread/platform/
Dudp.h52 otError otPlatUdpSocket(otUdpSocket *aUdpSocket);
62 otError otPlatUdpClose(otUdpSocket *aUdpSocket);
72 otError otPlatUdpBind(otUdpSocket *aUdpSocket);
85 otError otPlatUdpBindToNetif(otUdpSocket *aUdpSocket, otNetifIdentifier aNetifIdentifier);
95 otError otPlatUdpConnect(otUdpSocket *aUdpSocket);
107 otError otPlatUdpSend(otUdpSocket *aUdpSocket, otMessage *aMessage, const otMessageInfo *aMessageIn…
121 otError otPlatUdpJoinMulticastGroup(otUdpSocket *aUdpSocket,
137 otError otPlatUdpLeaveMulticastGroup(otUdpSocket *aUdpSocket,
/openthread-latest/include/openthread/
Dudp.h126 typedef struct otUdpSocket struct
133 struct otUdpSocket *mNext; ///< A pointer to the next UDP socket (internal use only). argument
135 } otUdpSocket; typedef
163 otError otUdpOpen(otInstance *aInstance, otUdpSocket *aSocket, otUdpReceive aCallback, void *aConte…
173 bool otUdpIsOpen(otInstance *aInstance, const otUdpSocket *aSocket);
184 otError otUdpClose(otInstance *aInstance, otUdpSocket *aSocket);
197 otError otUdpBind(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName, otNetif…
209 otError otUdpConnect(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName);
227 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage…
236 otUdpSocket *otUdpGetSockets(otInstance *aInstance);
/openthread-latest/src/core/api/
Dudp_api.cpp45 otError otUdpOpen(otInstance *aInstance, otUdpSocket *aSocket, otUdpReceive aCallback, void *aConte… in otUdpOpen()
50 bool otUdpIsOpen(otInstance *aInstance, const otUdpSocket *aSocket) in otUdpIsOpen()
55 otError otUdpClose(otInstance *aInstance, otUdpSocket *aSocket) in otUdpClose()
60 otError otUdpBind(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName, otNetif… in otUdpBind()
67 otError otUdpConnect(otInstance *aInstance, otUdpSocket *aSocket, const otSockAddr *aSockName) in otUdpConnect()
72 otError otUdpSend(otInstance *aInstance, otUdpSocket *aSocket, otMessage *aMessage, const otMessage… in otUdpSend()
84 otUdpSocket *otUdpGetSockets(otInstance *aInstance) { return AsCoreType(aInstance).Get<Ip6::Udp>().… in otUdpGetSockets()
/openthread-latest/src/posix/platform/
Dudp.cpp218 otError otPlatUdpSocket(otUdpSocket *aUdpSocket) in otPlatUdpSocket()
234 otError otPlatUdpClose(otUdpSocket *aUdpSocket) in otPlatUdpClose()
252 otError otPlatUdpBind(otUdpSocket *aUdpSocket) in otPlatUdpBind()
288 otError otPlatUdpBindToNetif(otUdpSocket *aUdpSocket, otNetifIdentifier aNetifIdentifier) in otPlatUdpBindToNetif()
355 otError otPlatUdpConnect(otUdpSocket *aUdpSocket) in otPlatUdpConnect()
422 otError otPlatUdpSend(otUdpSocket *aUdpSocket, otMessage *aMessage, const otMessageInfo *aMessageIn… in otPlatUdpSend()
460 otError otPlatUdpJoinMulticastGroup(otUdpSocket *aUdpSocket, in otPlatUdpJoinMulticastGroup()
503 otError otPlatUdpLeaveMulticastGroup(otUdpSocket *aUdpSocket, in otPlatUdpLeaveMulticastGroup()
556 … for (otUdpSocket *socket = otUdpGetSockets(gInstance); socket != nullptr; socket = socket->mNext) in Update()
617 … for (otUdpSocket *socket = otUdpGetSockets(gInstance); socket != nullptr; socket = socket->mNext) in Process()
/openthread-latest/tests/gtest/
Dfake_platform.cpp565 otError otPlatUdpSocket(otUdpSocket *) { return OT_ERROR_NOT_IMPLEMENTED; } in otPlatUdpSocket() argument
566 otError otPlatUdpClose(otUdpSocket *) { return OT_ERROR_NOT_IMPLEMENTED; } in otPlatUdpClose() argument
567 otError otPlatUdpBind(otUdpSocket *) { return OT_ERROR_NOT_IMPLEMENTED; } in otPlatUdpBind() argument
568 otError otPlatUdpBindToNetif(otUdpSocket *, otNetifIdentifier) { return OT_ERROR_NOT_IMPLEMENTED; } in otPlatUdpBindToNetif() argument
569 otError otPlatUdpConnect(otUdpSocket *) { return OT_ERROR_NOT_IMPLEMENTED; } in otPlatUdpConnect() argument
570 otError otPlatUdpSend(otUdpSocket *, otMessage *, const otMessageInfo *) { return OT_ERROR_NOT_IMPL… in otPlatUdpSend() argument
571 otError otPlatUdpJoinMulticastGroup(otUdpSocket *, otNetifIdentifier, const otIp6Address *) in otPlatUdpJoinMulticastGroup() argument
575 otError otPlatUdpLeaveMulticastGroup(otUdpSocket *, otNetifIdentifier, const otIp6Address *) in otPlatUdpLeaveMulticastGroup() argument
/openthread-latest/tests/unit/
Dtest_platform.cpp643 otError otPlatUdpSocket(otUdpSocket *aUdpSocket) in otPlatUdpSocket()
649 otError otPlatUdpClose(otUdpSocket *aUdpSocket) in otPlatUdpClose()
655 otError otPlatUdpBind(otUdpSocket *aUdpSocket) in otPlatUdpBind()
661 otError otPlatUdpBindToNetif(otUdpSocket *aUdpSocket, otNetifIdentifier aNetifIdentifier) in otPlatUdpBindToNetif()
668 otError otPlatUdpConnect(otUdpSocket *aUdpSocket) in otPlatUdpConnect()
674 otError otPlatUdpSend(otUdpSocket *aUdpSocket, otMessage *aMessage, const otMessageInfo *aMessageIn… in otPlatUdpSend()
681 otError otPlatUdpJoinMulticastGroup(otUdpSocket *aUdpSocket, in otPlatUdpJoinMulticastGroup()
691 otError otPlatUdpLeaveMulticastGroup(otUdpSocket *aUdpSocket, in otPlatUdpLeaveMulticastGroup()
/openthread-latest/src/cli/
Dcli_udp.hpp85 otUdpSocket mSocket;
Dcli.cpp4639 …for (const otUdpSocket *socket = otUdpGetSockets(GetInstancePtr()); socket != nullptr; socket = so… in Process()
/openthread-latest/src/core/net/
Dudp6.hpp90 …class SocketHandle : public otUdpSocket, public LinkedListEntry<SocketHandle>, public Clearable<So…
694 DefineCoreType(otUdpSocket, Ip6::Udp::SocketHandle);