Searched refs:keepAliveCount (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | lnn_socket_mock.cpp | 63 …_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveCount) in ConnSetTcpKeepalive() argument 65 … return GetSocketMockInterface()->ConnSetTcpKeepalive(fd, seconds, keepAliveIntvl, keepAliveCount); in ConnSetTcpKeepalive()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_tcp_socket.c | 348 …_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveCount) in ConnSetTcpKeepalive() argument 350 if (fd <= 0 || seconds <= 0 || keepAliveIntvl <= 0 || keepAliveCount <= 0) { in ConnSetTcpKeepalive() 362 …ocketSetOpt(fd, SOFTBUS_IPPROTO_TCP, SOFTBUS_TCP_KEEPCNT, &keepAliveCount, sizeof(keepAliveCount)); in ConnSetTcpKeepalive()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | lnn_socket_mock.h | 34 int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveCount) = 0;
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/ |
H A D | softbus_socket.h | 79 …t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveCount);
|
/ohos5.0/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 509 int32_t keepAliveCount { 5 }; in ConfigTcpAlive() local 510 result = setsockopt(handle, IPPROTO_TCP, TCP_KEEPCNT, &keepAliveCount, sizeof(keepAliveCount)); in ConfigTcpAlive()
|
/ohos5.0/base/msdp/device_status/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 511 int32_t keepAliveCount { 5 }; in ConfigTcpAlive() local 512 result = setsockopt(handle, IPPROTO_TCP, TCP_KEEPCNT, &keepAliveCount, sizeof(keepAliveCount)); in ConfigTcpAlive()
|