/Zephyr-Core-3.5.0/samples/net/promiscuous_mode/src/ |
D | main.c | 101 case IPPROTO_TCP: in print_info() 131 if (next_hdr == IPPROTO_TCP || next_hdr == IPPROTO_UDP) { in print_info() 142 if (next_hdr == IPPROTO_TCP || next_hdr == IPPROTO_UDP) { in print_info()
|
/Zephyr-Core-3.5.0/tests/net/tcp/src/ |
D | main.c | 241 af, IPPROTO_TCP, K_NO_WAIT); in tester_prepare_tcp_pkt() 307 ret = net_ipv4_finalize(pkt, IPPROTO_TCP); in tester_prepare_tcp_pkt() 309 ret = net_ipv6_finalize(pkt, IPPROTO_TCP); in tester_prepare_tcp_pkt() 556 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 618 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 784 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 853 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 922 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 997 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() 1059 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, &ctx); in ZTEST() [all …]
|
/Zephyr-Core-3.5.0/subsys/net/lib/zperf/ |
D | zperf_tcp_uploader.c | 120 param->options.priority, IPPROTO_TCP); in zperf_tcp_upload() 126 zsock_setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in zperf_tcp_upload()
|
D | zperf_tcp_receiver.c | 157 IPPROTO_TCP); in tcp_server_session() 209 IPPROTO_TCP); in tcp_server_session()
|
/Zephyr-Core-3.5.0/tests/posix/headers/src/ |
D | netinet_in_h.c | 57 zassert_not_equal(-1, IPPROTO_TCP); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo_async/src/ |
D | socket_echo.c | 132 serv4 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main() 150 serv6 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo_async_select/src/ |
D | socket_echo_select.c | 117 serv4 = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 132 serv6 = socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP);
|
/Zephyr-Core-3.5.0/samples/net/sockets/echo/src/ |
D | socket_echo.c | 33 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-Core-3.5.0/subsys/net/ip/ |
D | ipv4.c | 123 next_header_proto == IPPROTO_TCP) { in net_ipv4_finalize() 324 (hdr->proto == IPPROTO_TCP && in net_ipv4_input() 367 case IPPROTO_TCP: in net_ipv4_input()
|
D | tcp_private.h | 70 IPPROTO_TCP, \ 90 IPPROTO_TCP, \
|
D | net_private.h | 246 return net_calc_chksum(pkt, IPPROTO_TCP); in net_calc_chksum_tcp()
|
D | net_context.c | 305 if (proto == IPPROTO_TCP) { in net_context_check() 319 if (proto != IPPROTO_TCP) { in net_context_check() 399 && proto == IPPROTO_TCP) { in net_context_get() 1141 if (net_context_get_proto(context) == IPPROTO_TCP && in net_context_connect() 1301 if (net_context_get_proto(context) == IPPROTO_TCP) { in net_context_accept() 1947 net_context_get_proto(context) == IPPROTO_TCP) { in context_sendto() 2126 if (net_context_get_proto(context) == IPPROTO_TCP) { in net_context_packet_received() 2309 net_context_get_proto(context) == IPPROTO_TCP) { in net_context_recv()
|
/Zephyr-Core-3.5.0/tests/net/socket/ |
D | socket_helpers.h | 97 *sock = zsock_socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in prepare_sock_tcp_v4() 115 *sock = zsock_socket(AF_INET6, SOCK_STREAM, IPPROTO_TCP); in prepare_sock_tcp_v6()
|
/Zephyr-Core-3.5.0/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb() 178 res->ai_protocol = IPPROTO_TCP; in getaddrinfo_null_host() 329 int protocol = IPPROTO_TCP; in try_resolve_literal_addr()
|
/Zephyr-Core-3.5.0/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 50 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-Core-3.5.0/tests/net/socket/getaddrinfo/src/ |
D | main.c | 298 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 307 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 348 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 379 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 614 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST() 629 zassert_equal(res->ai_protocol, IPPROTO_TCP, ""); in ZTEST()
|
/Zephyr-Core-3.5.0/samples/net/cloud/tagoio_http_post/src/ |
D | sockets.c | 47 hints.ai_protocol = IPPROTO_TCP; in tagoio_connect()
|
/Zephyr-Core-3.5.0/samples/subsys/video/tcpserversink/src/ |
D | main.c | 50 sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-Core-3.5.0/samples/subsys/modbus/tcp_gateway/src/ |
D | main.c | 102 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
|
/Zephyr-Core-3.5.0/tests/net/socket/misc/src/ |
D | main.c | 397 sock_c = socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getpeername() 399 sock_s = socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getpeername() 463 sock_c = socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getsockname_tcp() 465 sock_s = socket(family, SOCK_STREAM, IPPROTO_TCP); in test_getsockname_tcp()
|
/Zephyr-Core-3.5.0/subsys/net/lib/mqtt/ |
D | mqtt_transport_socket_tcp.c | 27 IPPROTO_TCP); in mqtt_client_tcp_connect()
|
/Zephyr-Core-3.5.0/drivers/wifi/esp_at/ |
D | esp.h | 53 #define ESP_PROTO_PASSIVE(proto) (proto == IPPROTO_TCP) 56 (proto == IPPROTO_TCP || proto == IPPROTO_UDP)
|
D | esp_offload.c | 58 if (esp_socket_ip_proto(sock) == IPPROTO_TCP) { in _sock_connect() 71 esp_socket_ip_proto(sock) == IPPROTO_TCP ? "TCP" : "UDP", in _sock_connect() 215 if (esp_socket_ip_proto(sock) == IPPROTO_TCP) { in _sock_send()
|
/Zephyr-Core-3.5.0/tests/net/context/src/ |
D | main.c | 96 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, &context); in ZTEST() 100 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_TCP, &context); in ZTEST() 171 ret = net_context_get(AF_INET6, SOCK_STREAM, IPPROTO_TCP, in net_ctx_create() 176 ret = net_context_get(AF_INET, SOCK_STREAM, IPPROTO_TCP, in net_ctx_create()
|
/Zephyr-Core-3.5.0/doc/connectivity/networking/api/ |
D | websocket.rst | 37 sock = socket(family, SOCK_STREAM, IPPROTO_TCP);
|