Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_dev.h59 NSTACKX_EXPORT int32_t BindToDevice(SocketDesc sockfd, const struct sockaddr_in *localAddr);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
H A Dnstackx_socket.c214 BindToDevice(serverSocket->sockfd, sockAddr) != NSTACKX_EOK) { in CreateTcpServer()
275 BindToDevice(serverSocket->sockfd, sockAddr) != NSTACKX_EOK) { in CreateUdpServer()
398 if (BindToDevice(acceptFd, &localAddr) != NSTACKX_EOK) { in SetAcceptSocket()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_client.c199 if (needBind && BindToDevice(ep->sock.fd, sockIpPtr) != NSTACKX_EOK) { in CoapGetContextEx()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/
H A Dsys_dev.c199 int32_t BindToDevice(SocketDesc sockfd, const struct sockaddr_in *localAddr) in BindToDevice() function
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_dev.c199 int32_t BindToDevice(SocketDesc sockfd, const struct sockaddr_in *localAddr) in BindToDevice() function