/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | fwmark_network.cpp | 47 void CloseSocket(int32_t *socket, int32_t ret, int32_t errorCode) in CloseSocket() function 50 NETNATIVE_LOGE("CloseSocket failed, socket is nullptr"); in CloseSocket() 78 NETNATIVE_LOGI("NO_ERROR_CODE CloseSocket socket:%{public}d, ret:%{public}d", *socket, ret); in CloseSocket() 95 CloseSocket(socketFd, ret, ERROR_CODE_GETSOCKOPT_FAILED); in SetMark() 122 CloseSocket(socketFd, ret, ERROR_CODE_SETSOCKOPT_FAILED); in SetMark() 125 CloseSocket(socketFd, ret, NO_ERROR_CODE); in SetMark() 153 CloseSocket(&clientSockfd, ret, ERROR_CODE_RECVMSG_FAILED); in SendMessage() 165 CloseSocket(&clientSockfd, ret, ERROR_CODE_SOCKETFD_INVALID); in SendMessage() 169 CloseSocket(&clientSockfd, ret, ERROR_CODE_SET_MARK); in SendMessage() 173 CloseSocket( in SendMessage() [all...] |
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | fwmark_network_test.cpp | 157 * @tc.desc: Test FwmarkNetwork CloseSocket. 164 CloseSocket(nullptr, ret, NO_ERROR_CODE); in HWTEST_F() 165 CloseSocket(&socket, ret, ERROR_CODE_RECVMSG_FAILED); in HWTEST_F() 166 CloseSocket(&socket, ret, ERROR_CODE_SOCKETFD_INVALID); in HWTEST_F() 167 CloseSocket(&socket, ret, ERROR_CODE_WRITE_FAILED); in HWTEST_F() 168 CloseSocket(&socket, ret, ERROR_CODE_GETSOCKOPT_FAILED); in HWTEST_F() 169 CloseSocket(&socket, ret, ERROR_CODE_SETSOCKOPT_FAILED); in HWTEST_F() 170 CloseSocket(&socket, ret, ERROR_CODE_SETSOCKOPT_FAILED - 1); in HWTEST_F()
|
/foundation/CastEngine/castengine_wifi_display/services/network/client/ |
H A D | tcp_client.cpp | 74 SocketUtils::CloseSocket(socket_->GetLocalFd()); in Connect() 94 SocketUtils::CloseSocket(socket_->GetLocalFd()); in Disconnect()
|
H A D | udp_client.cpp | 81 SocketUtils::CloseSocket(socket_->GetLocalFd()); in Disconnect()
|
/foundation/CastEngine/castengine_wifi_display/services/network/server/ |
H A D | udp_server.cpp | 77 SocketUtils::CloseSocket(kv.first); in Stop() 85 SocketUtils::CloseSocket(socket_->GetLocalFd()); in Stop() 107 SocketUtils::CloseSocket(fd); in CloseClientSocket() 259 SocketUtils::CloseSocket(fd); in BindAndConnectClinetFd()
|
H A D | tcp_server.cpp | 72 SocketUtils::CloseSocket(socket_->GetLocalFd()); in Stop()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/ |
H A D | nstackx_socket.h | 44 void CloseSocket(Socket *socket);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/ |
H A D | socket_service.cpp | 156 (*cIt)->CloseSocket(false); in ShutDownInternal() 169 (*aIt)->CloseSocket(false); in ShutDownInternal()
|
H A D | socket.h | 96 void CloseSocket(bool isDisable);
|
H A D | socket.cpp | 612 void Socket::CloseSocket(bool isDisable) in CloseSocket() function in OHOS::bluetooth::Socket 721 sock.CloseSocket(false); in OnSocketWriteReadyNative() 804 this->CloseSocket(false); in WriteDataToAPP() 915 sock.CloseSocket(false); in OnSocketExceptionNative()
|
/foundation/CastEngine/castengine_wifi_display/services/network/session/ |
H A D | tcp_session.cpp | 91 SocketUtils::CloseSocket(socket_->GetPeerFd()); in Shutdown()
|
H A D | udp_session.cpp | 65 SocketUtils::CloseSocket(socket_->GetPeerFd()); in Shutdown()
|
/foundation/communication/dhcp/services/utils/include/ |
H A D | dhcp_arp_checker.h | 54 int32_t CloseSocket(void);
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/ |
H A D | nstackx_dfile.c | 1031 CloseSocket(socket); in DFileRecverInit() 1049 CloseSocket(session->socket[0]); in DFileRecverDestory() 1050 CloseSocket(session->socket[1]); in DFileRecverDestory() 1219 CloseSocket(socket); in DFileSenderInitWithTargetDev() 1249 CloseSocket(session->socket[0]); in DFileSenderInitWithTargetDev() 1250 CloseSocket(session->socket[1]); in DFileSenderInitWithTargetDev() 1258 CloseSocket(session->socket[0]); in DFileSenderDestory() 1259 CloseSocket(session->socket[1]); in DFileSenderDestory() 1479 CloseSocket(sessionNode->session->socket[0]); in NSTACKX_DFileClose() 1480 CloseSocket(sessionNod in NSTACKX_DFileClose() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/network/socket/ |
H A D | socket_utils.h | 52 static void CloseSocket(int32_t fd);
|
H A D | socket_utils.cpp | 93 CloseSocket(fd); in IsUdpPortAvailable() 362 void SocketUtils::CloseSocket(int32_t fd) in CloseSocket() function in OHOS::Sharing::SocketUtils
|
/foundation/communication/dhcp/services/utils/src/ |
H A D | dhcp_arp_checker.cpp | 88 CloseSocket(); in Stop() 332 int32_t DhcpArpChecker::CloseSocket(void) in CloseSocket() function in OHOS::DHCP::DhcpArpChecker
|
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/ |
H A D | tmessenger.h | 110 void CloseSocket(int32_t socket);
|
H A D | tmessenger.cpp | 253 TMessenger::GetInstance().CloseSocket(socket); in OnShutdown() 306 void TMessenger::CloseSocket(int32_t socket) in CloseSocket() function in OHOS::TMessenger
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/ |
H A D | nstackx_socket.c | 29 void CloseSocket(Socket *socket) in CloseSocket() function
|