/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_socket_manager.h | 41 NO_SANITIZE("cfi") void ClientDestroySession(const ListNode *destroyList, ShutdownReason reason); 43 void DestroyClientSessionServer(ClientSessionServer *server, ListNode *destroyList); 51 const char *networkId, int32_t type, ListNode *destroyList); 70 void ClientCleanUpIdleTimeoutSocket(const ListNode *destroyList); 77 void ClientUpdateIdleTimeout(const ClientSessionServer *serverNode, SessionInfo *sessionNode, ListNode *destroyList);
|
/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_socket_manager.c | 100 TRANS_LOGE(TRANS_SDK, "destroyList malloc fail."); in CreateDestroySessionNode() 129 NO_SANITIZE("cfi") void ClientDestroySession(const ListNode *destroyList, ShutdownReason reason) in ClientDestroySession() argument 131 if (destroyList == NULL) { in ClientDestroySession() 135 if (IsListEmpty(destroyList)) { in ClientDestroySession() 136 TRANS_LOGD(TRANS_SDK, "destroyList is empty fail."); in ClientDestroySession() 142 LIST_FOR_EACH_ENTRY_SAFE(destroyNode, destroyNodeNext, destroyList, DestroySessionInfo, node) { in ClientDestroySession() 158 void DestroyClientSessionServer(ClientSessionServer *server, ListNode *destroyList) in DestroyClientSessionServer() argument 160 if (server == NULL || destroyList == NULL) { in DestroyClientSessionServer() 175 ListAdd(destroyList, &(destroyNode->node)); in DestroyClientSessionServer() 334 const char *networkId, int32_t type, ListNode *destroyList) in DestroyClientSessionByNetworkId() 333 DestroyClientSessionByNetworkId(const ClientSessionServer *server, const char *networkId, int32_t type, ListNode *destroyList) DestroyClientSessionByNetworkId() argument 608 ClientCleanUpIdleTimeoutSocket(const ListNode *destroyList) ClientCleanUpIdleTimeoutSocket() argument 714 ClientUpdateIdleTimeout(const ClientSessionServer *serverNode, SessionInfo *sessionNode, ListNode *destroyList) ClientUpdateIdleTimeout() argument [all...] |
H A D | client_trans_session_manager.c | 240 ListNode destroyList; in TryDeleteEmptySessionServer() local 241 ListInit(&destroyList); in TryDeleteEmptySessionServer() 277 ListNode destroyList; in TransClientDeinit() local 278 ListInit(&destroyList); in TransClientDeinit() 281 DestroyClientSessionServer(serverNode, &destroyList); in TransClientDeinit() 284 ClientDestroySession(&destroyList, SHUTDOWN_REASON_LOCAL); in TransClientDeinit() 589 ListNode destroyList; in ClientDeleteSessionServer() local 590 ListInit(&destroyList); in ClientDeleteSessionServer() 593 DestroyClientSessionServer(serverNode, &destroyList); in ClientDeleteSessionServer() 599 (void)ClientDestroySession(&destroyList, SHUTDOWN_REASON_LOCA in ClientDeleteSessionServer() 1256 ListNode destroyList; ClientTransLnnOfflineProc() local 1295 ListNode destroyList; ClientTransOnLinkDown() local 1348 ListNode destroyList; ClientCleanAllSessionWhenServerDeath() local 1881 ListNode destroyList; ClientTransSessionTimerProc() local [all...] |
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/ |
H A D | nstackx_device_local.c | 56 List destroyList; member 81 LIST_FOR_EACH_SAFE(pos, tmp, &g_localDevice.destroyList) { in LocalDeviceTimeout() 114 LIST_FOR_EACH_SAFE(pos, tmp, &g_localDevice.destroyList) { in LocalDeviceDeinit() 144 ListInitHead(&g_localDevice.destroyList); in LocalDeviceInit() 300 if (ListIsEmpty(&g_localDevice.destroyList)) { in AddToDestroyList() 304 LocalIfaceChangeState(iface, &g_localDevice.destroyList, IFACE_STATE_DESTROYING); in AddToDestroyList() 317 iface = GetLocalIface(&g_localDevice.destroyList, ifname, ip); in AddLocalIface() 785 LIST_FOR_EACH(pos, &g_localDevice.destroyList) { in LocalIfaceDump()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/ |
H A D | trans_proxy_channel_test.cpp | 555 ListNode destroyList; in HWTEST_F() local 556 ListInit(&destroyList); in HWTEST_F() 557 TransProxyDestroyChannelList(&destroyList); in HWTEST_F()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/ |
H A D | softbus_proxychannel_manager.c | 1913 static void TransProxyDestroyChannelList(const ListNode *destroyList) in TransProxyDestroyChannelList() argument 1917 (destroyList != NULL && !IsListEmpty(destroyList)), TRANS_INIT, "destroyList is null"); in TransProxyDestroyChannelList() 1920 LIST_FOR_EACH_ENTRY_SAFE(destroyNode, nextDestroyNode, destroyList, ProxyChannelInfo, node) { in TransProxyDestroyChannelList() 1942 ListNode destroyList; in TransProxyDeathCallback() local 1943 ListInit(&destroyList); in TransProxyDeathCallback() 1955 ListAdd(&destroyList, &(item->node)); in TransProxyDeathCallback() 1960 TransProxyDestroyChannelList(&destroyList); in TransProxyDeathCallback()
|
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/ |
H A D | trans_udp_negotiation.c | 1202 ListNode destroyList; in TransUdpDeathCallback() local 1203 ListInit(&destroyList); in TransUdpDeathCallback() 1215 ListAdd(&destroyList, &tempNode->node); in TransUdpDeathCallback() 1225 LIST_FOR_EACH_ENTRY_SAFE(udpChannelNode, udpChannelNodeNext, (&destroyList), UdpChannelInfo, node) { in TransUdpDeathCallback()
|