Home
last modified time | relevance | path

Searched refs:utilsSocket (Results 1 – 5 of 5) sorted by relevance

/openthread-latest/examples/platforms/simulation/
Dsimul_utils.h39 typedef struct utilsSocket struct
52 } utilsSocket; argument
71 void utilsInitSocket(utilsSocket *aSocket, uint16_t aPortBase);
78 void utilsDeinitSocket(utilsSocket *aSocket);
87 void utilsAddSocketRxFd(const utilsSocket *aSocket, fd_set *aFdSet, int *aMaxFd);
96 void utilsAddSocketTxFd(const utilsSocket *aSocket, fd_set *aFdSet, int *aMaxFd);
107 bool utilsCanSocketReceive(const utilsSocket *aSocket, const fd_set *aReadFdSet);
118 bool utilsCanSocketSend(const utilsSocket *aSocket, const fd_set *aWriteFdSet);
133 uint16_t utilsReceiveFromSocket(const utilsSocket *aSocket,
145 void utilsSendOverSocket(const utilsSocket *aSocket, const void *aBuffer, uint16_t aBufferLength);
Dsimul_utils.c79 static void InitRxSocket(utilsSocket *aSocket, const struct in_addr *aIp4Address, unsigned int aIfI… in InitRxSocket()
153 void InitTxSocketIp6(utilsSocket *aSocket, const struct in6_addr *aAddress, unsigned int aIfIndex) in InitTxSocketIp6()
190 static void InitTxSocketIp4(utilsSocket *aSocket, const struct in_addr *aAddress) in InitTxSocketIp4()
226 static bool TryInitSocketIfname(utilsSocket *aSocket, const char *aLocalInterface) in TryInitSocketIfname()
295 static bool TryInitSocketIp4(utilsSocket *aSocket, const char *aLocalInterface) in TryInitSocketIp4()
310 static bool TryInitSocketIp6(utilsSocket *aSocket, const char *aLocalInterface) in TryInitSocketIp6()
358 void utilsInitSocket(utilsSocket *aSocket, uint16_t aPortBase) in utilsInitSocket()
374 void utilsDeinitSocket(utilsSocket *aSocket) in utilsDeinitSocket()
384 void utilsAddSocketRxFd(const utilsSocket *aSocket, fd_set *aFdSet, int *aMaxFd) in utilsAddSocketRxFd()
393 void utilsAddSocketTxFd(const utilsSocket *aSocket, fd_set *aFdSet, int *aMaxFd) in utilsAddSocketTxFd()
[all …]
Dinfra_if.c71 static utilsSocket sSocket;
Dtrel.c72 static utilsSocket sSocket;
Dradio.c74 static utilsSocket sSocket;