Searched refs:TcpDirectChannelInfo (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_manager.c | 52 TcpDirectChannelInfo *TransTdcGetInfoById(int32_t channelId, TcpDirectChannelInfo *info) in TransTdcGetInfoById() 61 (void)memcpy_s(info, sizeof(TcpDirectChannelInfo), item, sizeof(TcpDirectChannelInfo)); in TransTdcGetInfoById() 98 TcpDirectChannelInfo *TransTdcGetInfoByIdWithIncSeq(int32_t channelId, TcpDirectChannelInfo *info) in TransTdcGetInfoByIdWithIncSeq() 107 (void)memcpy_s(info, sizeof(TcpDirectChannelInfo), item, sizeof(TcpDirectChannelInfo)); in TransTdcGetInfoByIdWithIncSeq() 119 TcpDirectChannelInfo *TransTdcGetInfoByFd(int32_t fd, TcpDirectChannelInfo *info) in TransTdcGetInfoByFd() 128 (void)memcpy_s(info, sizeof(TcpDirectChannelInfo), item, sizeof(TcpDirectChannelInfo)); in TransTdcGetInfoByFd() 179 … TcpDirectChannelInfo *item = (TcpDirectChannelInfo *)SoftBusCalloc(sizeof(TcpDirectChannelInfo)); in TransGetNewTcpChannel() 288 TcpDirectChannelInfo info; in ClientTransTdcHandleListener() 289 (void)memset_s(&info, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in ClientTransTdcHandleListener() 419 TcpDirectChannelInfo channel; in TransTdcGetSessionKey() [all …]
|
H A D | client_trans_tcp_direct_callback.c | 78 TcpDirectChannelInfo info; in ClientTransTdcOnChannelBind() 79 (void)memset_s(&info, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in ClientTransTdcOnChannelBind() 80 TcpDirectChannelInfo *res = TransTdcGetInfoById(channelId, &info); in ClientTransTdcOnChannelBind()
|
H A D | client_trans_tcp_direct_message.c | 127 static char *TransTdcPackData(const TcpDirectChannelInfo *channel, const char *data, uint32_t len, … in TransTdcPackData() 175 static int32_t TransTdcProcessPostData(TcpDirectChannelInfo *channel, const char *data, uint32_t le… in TransTdcProcessPostData() 224 TcpDirectChannelInfo channel; in TransTdcSendBytes() 225 (void)memset_s(&channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in TransTdcSendBytes() 236 (void)memset_s(&channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in TransTdcSendBytes() 252 TcpDirectChannelInfo channel; in TransTdcSendMessage() 253 (void)memset_s(&channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in TransTdcSendMessage() 269 (void)memset_s(&channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in TransTdcSendMessage() 278 static int32_t TransTdcSendAck(TcpDirectChannelInfo *channel, int32_t seq) in TransTdcSendAck() 405 …uint32_t flag, int32_t seqNum, TcpDirectChannelInfo *channel, const char *plain, uint32_t plainLen) in TransTdcProcessDataByFlag() [all …]
|
H A D | client_trans_tcp_direct_listener.c | 66 TcpDirectChannelInfo channel; in ClientTdcOnDataEvent() 67 (void)memset_s(&channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in ClientTdcOnDataEvent()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/include/ |
H A D | client_trans_tcp_direct_manager.h | 47 } TcpDirectChannelInfo; typedef 54 TcpDirectChannelInfo *TransTdcGetInfoById(int32_t channelId, TcpDirectChannelInfo *info); 55 TcpDirectChannelInfo *TransTdcGetInfoByFd(int32_t fd, TcpDirectChannelInfo *info); 56 TcpDirectChannelInfo *TransTdcGetInfoByIdWithIncSeq(int32_t channelId, TcpDirectChannelInfo *info);
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/ |
H A D | trans_sdk_tcp_direct_test.cpp | 136 TcpDirectChannelInfo *TestGetTcpDirectChannelInfo() in TestGetTcpDirectChannelInfo() 138 … TcpDirectChannelInfo *item = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)); in TestGetTcpDirectChannelInfo() 139 (void)memset_s(item, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); in TestGetTcpDirectChannelInfo() 316 … TcpDirectChannelInfo *info = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)); 318 (void)memset_s(info, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); 325 TcpDirectChannelInfo *item = TransTdcGetInfoById(channelId, nullptr); 348 … TcpDirectChannelInfo *info = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)); 350 (void)memset_s(info, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); 357 TcpDirectChannelInfo *item = TransTdcGetInfoByFd(fd, nullptr); 380 … TcpDirectChannelInfo *info = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)); [all …]
|
H A D | trans_tcp_direct_test.cpp | 468 …TcpDirectChannelInfo *channel = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)… 470 (void)memset_s(channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); 495 …TcpDirectChannelInfo *channel = (TcpDirectChannelInfo *)SoftBusMalloc(sizeof(TcpDirectChannelInfo)… 497 (void)memset_s(channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); 588 …TcpDirectChannelInfo *channel = (TcpDirectChannelInfo*)SoftBusMalloc(sizeof(TcpDirectChannelInfo)); 590 (void)memset_s(channel, sizeof(TcpDirectChannelInfo), 0, sizeof(TcpDirectChannelInfo)); 826 TcpDirectChannelInfo *info = TransGetNewTcpChannel(NULL); 854 …TcpDirectChannelInfo *channel = (TcpDirectChannelInfo *)SoftBusCalloc(sizeof(TcpDirectChannelInfo)…
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_socket_manager.c | 252 TcpDirectChannelInfo channel; in ClientTransGetTdcIp()
|