Home
last modified time | relevance | path

Searched refs:tcp (Results 1 - 25 of 27) sorted by relevance

12

/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp379 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
380 ASSERT_NE(tcp, nullptr); in HWTEST_F()
392 int32_t fd = tcp->OpenServerSocket(&info); in HWTEST_F()
395 int32_t port = tcp->GetSockPort(fd); in HWTEST_F()
399 fd = tcp->OpenServerSocket(nullptr); in HWTEST_F()
405 fd = tcp->OpenServerSocket(&info); in HWTEST_F()
419 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
420 ASSERT_NE(tcp, nullptr); in HWTEST_F()
432 int32_t fd = tcp->OpenClientSocket(nullptr, "127.0.0.1", false); in HWTEST_F()
436 fd = tcp in HWTEST_F()
456 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
472 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
491 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp840 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
841 ASSERT_NE(tcp, nullptr); in HWTEST_F()
843 int32_t port = tcp->GetSockPort(fd); in HWTEST_F()
857 fd = tcp->OpenServerSocket(&option); in HWTEST_F()
860 port = tcp->GetSockPort(fd); in HWTEST_F()
875 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
876 ASSERT_NE(tcp, nullptr); in HWTEST_F()
888 int32_t fd = tcp->OpenClientSocket(&option, "127.0.0.1", true); in HWTEST_F()
909 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
910 ASSERT_NE(tcp, nullpt in HWTEST_F()
940 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
976 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1016 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1302 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1328 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1351 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1391 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1417 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1441 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1470 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1495 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1524 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1570 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1594 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1692 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
1727 const SocketInterface *tcp = GetTcpProtocol(); HWTEST_F() local
[all...]
/foundation/arkui/napi/sample/native_module_netserver/
H A Dnet_server.cpp106 uv_tcp_init(that->loop_, (uv_tcp_t*)&that->clients_->tcp); in OnConnection()
107 that->clients_->tcp.data = server->data; in OnConnection()
108 uv_accept(server, (uv_stream_t*)&that->clients_->tcp); in OnConnection()
109 uv_read_start((uv_stream_t*)&that->clients_->tcp, EchoAlloc, AfterRead); in OnConnection()
124 uv_close((uv_handle_t*)&i->tcp, nullptr); in OnServerClose()
H A Dnetserver.cpp105 uv_tcp_init(that->loop_, (uv_tcp_t*)&that->clients_->tcp); in OnConnection()
106 that->clients_->tcp.data = server->data; in OnConnection()
107 uv_accept(server, (uv_stream_t*)&that->clients_->tcp); in OnConnection()
108 uv_read_start((uv_stream_t*)&that->clients_->tcp, EchoAlloc, AfterRead); in OnConnection()
123 uv_close((uv_handle_t*)&i->tcp, nullptr); in OnServerClose()
H A Dnet_server.h34 uv_tcp_t tcp = { 0 }; member
H A Dnetserver.h75 uv_tcp_t tcp = { 0 }; member
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/netfirewall/
H A Dnetfirewall_ct.h103 * @param tcp tcp connection
109 static __always_inline bool ct_update_timeout(struct ct_entry *entry, bool tcp, enum ct_dir dir, in ct_update_timeout() argument
115 if (tcp) { in ct_update_timeout()
H A Dnetfirewall_utils.h33 #include <linux/tcp.h>
103 * @brief load tcp flags from given skb
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_socket.h14 * Description: tcp socket.
27 #include <netinet/tcp.h>
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_socket.h14 * Description: tcp socket.
27 #include <netinet/tcp.h>
/foundation/communication/dsoftbus/adapter/common/include/OS_adapter_define/linux/
H A Dsoftbus_adapter_define.h21 #include <netinet/tcp.h>
78 /* netinet/tcp.h */
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dres.h23 #include <netinet/tcp.h>
/foundation/multimedia/av_codec/test/nativedemo/avdemuxer/server_demo/
H A Dfile_server_demo.h39 #include <netinet/tcp.h>
/foundation/multimedia/av_codec/test/unittest/common/
H A Dhttp_server_demo.h39 #include <netinet/tcp.h>
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dclatd_packet_converter.h24 #include <netinet/tcp.h>
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_extra_exec.cpp26 #include <netinet/tcp.h>
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_socket.cpp20 #include <netinet/tcp.h>
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile_config.c17 #include <netinet/tcp.h>
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dsocket_utils.cpp20 #include <netinet/tcp.h>
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnetlink_socket_diag.cpp21 #include <netinet/tcp.h>
H A Dclatd_packet_converter.cpp25 #include <netinet/tcp.h>
620 NETNATIVE_LOGW("Invalid tcp packet, packet length is too small"); in IsTcpPacketValid()
626 NETNATIVE_LOGW("Invalid tcp packet, tcp header length %{public}u smaller than 5", tcpHeader->doff); in IsTcpPacketValid()
632 NETNATIVE_LOGW("Invalid tcp packet, tcp header length %{public}u larger than entire packet", tcpHeader->doff); in IsTcpPacketValid()
638 NETNATIVE_LOGW("Invalid tcp packet, tcp header length %{public}u larger than MAX_TCP_HDR", tcpHeader->doff); in IsTcpPacketValid()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test.cpp2155 const SocketInterface *tcp = GetTcpProtocol(); in HWTEST_F() local
2156 ASSERT_NE(tcp, nullptr); in HWTEST_F()
2166 int32_t fd = tcp->OpenServerSocket(&info); in HWTEST_F()
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp23 #include <netinet/tcp.h>
494 FI_HILOGW("Config tcp alive, invalid sessionId"); in ConfigTcpAlive()
506 FI_HILOGE("Config tcp alive, setsockopt set idle failed, result:%{public}d", result); in ConfigTcpAlive()
512 FI_HILOGE("Config tcp alive, setsockopt set cnt failed"); in ConfigTcpAlive()
518 FI_HILOGE("Config tcp alive, setsockopt set intvl failed"); in ConfigTcpAlive()
524 FI_HILOGE("Config tcp alive, setsockopt enable alive failed"); in ConfigTcpAlive()
/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dtls_socket.cpp26 #include <netinet/tcp.h>
691 NETSTACK_LOGE("make tcp socket failed errno is %{public}d %{public}s", errno, MakeErrnoString().c_str()); in Bind()
H A Dtls_socket_server.cpp20 #include <netinet/tcp.h>
218 NETSTACK_LOGE("make tcp socket failed errno is %{public}d %{public}s", errno, MakeErrnoString().c_str()); in ExecBind()
279 NETSTACK_LOGE("tcp server listen error"); in ExecAccept()

Completed in 20 milliseconds

12