Home
last modified time | relevance | path

Searched refs:SOCK_STREAM (Results 1 – 25 of 93) sorted by relevance

1234

/Zephyr-latest/tests/net/socket/socketpair/src/
Dexpected_failures.c15 res = zsock_socketpair(AF_INET, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()
38 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, IPPROTO_TLS_1_0, fixture->sv); in ZTEST_USER_F()
51 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, NULL); in ZTEST_USER_F()
Dclosed_ends.c26 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()
63 res = zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv); in ZTEST_USER_F()
Dhappy_path.c113 SOCK_STREAM, "SOCK_STREAM", in ZTEST_USER_F()
123 SOCK_STREAM, "SOCK_STREAM", in ZTEST_USER_F()
D_main.c34 zassert_ok(zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv)); in before()
/Zephyr-latest/tests/net/socket/
Dsocket_helpers.h103 *sock = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in prepare_sock_tcp_v4()
121 *sock = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in prepare_sock_tcp_v6()
140 *sock = zsock_socket(AF_INET, SOCK_STREAM, proto); in prepare_sock_tls_v4()
159 *sock = zsock_socket(AF_INET6, SOCK_STREAM, proto); in prepare_sock_tls_v6()
/Zephyr-latest/modules/thrift/src/thrift/transport/
DTSSLServerSocket.cpp70 if (-1 == THRIFT_SOCKETPAIR(AF_LOCAL, SOCK_STREAM, 0, sv)) { in listen()
81 if (-1 == THRIFT_SOCKETPAIR(AF_LOCAL, SOCK_STREAM, 0, sv)) { in listen()
101 resolved_addresses.resolve(address_, std::to_string(port_), SOCK_STREAM, in listen()
/Zephyr-latest/tests/net/socket/misc/src/
Dmain.c406 sock_c = zsock_socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getpeername()
408 sock_s = zsock_socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getpeername()
472 sock_c = zsock_socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getsockname_tcp()
474 sock_s = zsock_socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getsockname_tcp()
609 sock_s4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_disabled()
618 sock_s6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_disabled()
659 sock_s6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_enabled()
669 sock_s4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_enabled()
689 sock_s4 = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_enabled()
755 sock_s6 = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in test_ipv4_mapped_to_ipv6_server()
[all …]
/Zephyr-latest/tests/net/socket/tls_configurations/src/
Dmain.c93 socket_fd = socket(addr.sin_family, SOCK_STREAM, IPPROTO_TLS_1_3); in create_socket()
95 socket_fd = socket(addr.sin_family, SOCK_STREAM, IPPROTO_TLS_1_2); in create_socket()
/Zephyr-latest/tests/net/socket/getaddrinfo/src/
Dmain.c292 .ai_socktype = SOCK_STREAM in ZTEST()
301 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
310 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
341 .ai_socktype = SOCK_STREAM in ZTEST()
351 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
382 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
606 .ai_socktype = SOCK_STREAM, in ZTEST()
617 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
632 zassert_equal(res->ai_socktype, SOCK_STREAM, ""); in ZTEST()
/Zephyr-latest/samples/net/sockets/echo_async/src/
Dsocket_echo.c136 serv4 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
154 serv6 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-latest/samples/net/sockets/echo_async_select/src/
Dsocket_echo_select.c118 serv4 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
133 serv6 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
/Zephyr-latest/tests/net/tcp/src/
Dmain.c606 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
668 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
837 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
906 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
975 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1050 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1112 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1216 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1358 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
1510 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST()
[all …]
/Zephyr-latest/samples/net/sockets/echo/src/
Dsocket_echo.c39 serv = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-latest/samples/net/sockets/http_get/src/
Dhttp_get.c77 hints.ai_socktype = SOCK_STREAM; in main()
/Zephyr-latest/tests/net/socket/register/src/
Dmain.c97 .test_case.type = SOCK_STREAM,
119 .test_case.type = SOCK_STREAM,
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c65 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-latest/samples/net/sockets/echo_client/src/
Dtcp.c97 data->tcp.sock = socket(family, SOCK_STREAM, IPPROTO_TLS_1_2); in start_tcp_proto()
99 data->tcp.sock = socket(family, SOCK_STREAM, IPPROTO_TCP); in start_tcp_proto()
/Zephyr-latest/subsys/net/lib/sockets/
Dgetaddrinfo.c62 int socktype = SOCK_STREAM; in dns_resolve_cb()
212 res->ai_socktype = SOCK_STREAM; in getaddrinfo_null_host()
363 int socktype = SOCK_STREAM; in try_resolve_literal_addr()
/Zephyr-latest/samples/net/cloud/tagoio_http_post/src/
Dsockets.c46 hints.ai_socktype = SOCK_STREAM; in tagoio_connect()
/Zephyr-latest/tests/net/lib/http_server/crime/src/
Dmain.c76 ret = zsock_socket(AF_INET, SOCK_STREAM, proto); in test_crime()
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/src/
Dmain.c102 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-latest/samples/net/mdns_responder/src/
Dservice.c76 r = socket(server_addr.sa_family, SOCK_STREAM, 0); in service()
/Zephyr-latest/tests/posix/headers/src/
Dsys_socket_h.c64 zassert_not_equal(-1, SOCK_STREAM); in ZTEST()
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/
Dmain.c157 *sock = socket(bind_addr->sa_family, SOCK_STREAM, IPPROTO_TLS_1_2); in setup()
159 *sock = socket(bind_addr->sa_family, SOCK_STREAM, IPPROTO_TCP); in setup()
/Zephyr-latest/samples/drivers/video/tcpserversink/src/
Dmain.c65 sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()

1234