/Zephyr-latest/tests/net/socket/socketpair/src/ |
D | expected_failures.c | 15 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()
|
D | closed_ends.c | 26 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()
|
D | happy_path.c | 113 SOCK_STREAM, "SOCK_STREAM", in ZTEST_USER_F() 123 SOCK_STREAM, "SOCK_STREAM", in ZTEST_USER_F()
|
D | _main.c | 34 zassert_ok(zsock_socketpair(AF_UNIX, SOCK_STREAM, 0, fixture->sv)); in before()
|
/Zephyr-latest/tests/net/socket/ |
D | socket_helpers.h | 103 *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/ |
D | TSSLServerSocket.cpp | 70 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/ |
D | main.c | 406 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/ |
D | main.c | 93 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/ |
D | main.c | 292 .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/ |
D | socket_echo.c | 136 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/ |
D | socket_echo_select.c | 118 serv4 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 133 serv6 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
|
/Zephyr-latest/tests/net/tcp/src/ |
D | main.c | 606 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/ |
D | socket_echo.c | 39 serv = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 77 hints.ai_socktype = SOCK_STREAM; in main()
|
/Zephyr-latest/tests/net/socket/register/src/ |
D | main.c | 97 .test_case.type = SOCK_STREAM, 119 .test_case.type = SOCK_STREAM,
|
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 65 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-latest/samples/net/sockets/echo_client/src/ |
D | tcp.c | 97 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/ |
D | getaddrinfo.c | 62 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/ |
D | sockets.c | 46 hints.ai_socktype = SOCK_STREAM; in tagoio_connect()
|
/Zephyr-latest/tests/net/lib/http_server/crime/src/ |
D | main.c | 76 ret = zsock_socket(AF_INET, SOCK_STREAM, proto); in test_crime()
|
/Zephyr-latest/samples/subsys/modbus/tcp_gateway/src/ |
D | main.c | 102 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-latest/samples/net/mdns_responder/src/ |
D | service.c | 76 r = socket(server_addr.sa_family, SOCK_STREAM, 0); in service()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | sys_socket_h.c | 64 zassert_not_equal(-1, SOCK_STREAM); in ZTEST()
|
/Zephyr-latest/samples/net/sockets/dumb_http_server_mt/src/ |
D | main.c | 157 *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/ |
D | main.c | 65 sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|