Home
last modified time | relevance | path

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

/external/openthread/src/posix/platform/
Dudp.cpp235 otError otPlatUdpSocket(otUdpSocket *aUdpSocket) in otPlatUdpSocket() argument
240 assert(aUdpSocket->mHandle == nullptr); in otPlatUdpSocket()
245 aUdpSocket->mHandle = FdToHandle(fd); in otPlatUdpSocket()
251 otError otPlatUdpClose(otUdpSocket *aUdpSocket) in otPlatUdpClose() argument
258 VerifyOrExit(aUdpSocket->mHandle != nullptr); in otPlatUdpClose()
260 fd = FdFromHandle(aUdpSocket->mHandle); in otPlatUdpClose()
263 aUdpSocket->mHandle = nullptr; in otPlatUdpClose()
269 otError otPlatUdpBind(otUdpSocket *aUdpSocket) in otPlatUdpBind() argument
275 assert(aUdpSocket->mHandle != nullptr); in otPlatUdpBind()
276 VerifyOrExit(aUdpSocket->mSockName.mPort != 0, error = OT_ERROR_INVALID_ARGS); in otPlatUdpBind()
[all …]
/external/openthread/include/openthread/platform/
Dudp.h53 otError otPlatUdpSocket(otUdpSocket *aUdpSocket);
64 otError otPlatUdpClose(otUdpSocket *aUdpSocket);
75 otError otPlatUdpBind(otUdpSocket *aUdpSocket);
89 otError otPlatUdpBindToNetif(otUdpSocket *aUdpSocket, otNetifIdentifier aNetifIdentifier);
100 otError otPlatUdpConnect(otUdpSocket *aUdpSocket);
113 otError otPlatUdpSend(otUdpSocket *aUdpSocket, otMessage *aMessage, const otMessageInfo *aMessageIn…
128 otError otPlatUdpJoinMulticastGroup(otUdpSocket * aUdpSocket,
145 otError otPlatUdpLeaveMulticastGroup(otUdpSocket * aUdpSocket,