Home
last modified time | relevance | path

Searched refs:IPPROTO_TCP (Results 1 – 25 of 64) sorted by relevance

123

/Zephyr-Core-3.5.0/samples/net/promiscuous_mode/src/
Dmain.c101 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/
Dmain.c241 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/
Dzperf_tcp_uploader.c120 param->options.priority, IPPROTO_TCP); in zperf_tcp_upload()
126 zsock_setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in zperf_tcp_upload()
Dzperf_tcp_receiver.c157 IPPROTO_TCP); in tcp_server_session()
209 IPPROTO_TCP); in tcp_server_session()
/Zephyr-Core-3.5.0/tests/posix/headers/src/
Dnetinet_in_h.c57 zassert_not_equal(-1, IPPROTO_TCP); in ZTEST()
/Zephyr-Core-3.5.0/samples/net/sockets/echo_async/src/
Dsocket_echo.c132 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/
Dsocket_echo_select.c117 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/
Dsocket_echo.c33 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-Core-3.5.0/subsys/net/ip/
Dipv4.c123 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()
Dtcp_private.h70 IPPROTO_TCP, \
90 IPPROTO_TCP, \
Dnet_private.h246 return net_calc_chksum(pkt, IPPROTO_TCP); in net_calc_chksum_tcp()
Dnet_context.c305 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/
Dsocket_helpers.h97 *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/
Dgetaddrinfo.c101 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/
Dsocket_dumb_http.c50 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-Core-3.5.0/tests/net/socket/getaddrinfo/src/
Dmain.c298 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/
Dsockets.c47 hints.ai_protocol = IPPROTO_TCP; in tagoio_connect()
/Zephyr-Core-3.5.0/samples/subsys/video/tcpserversink/src/
Dmain.c50 sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-Core-3.5.0/samples/subsys/modbus/tcp_gateway/src/
Dmain.c102 serv = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in main()
/Zephyr-Core-3.5.0/tests/net/socket/misc/src/
Dmain.c397 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/
Dmqtt_transport_socket_tcp.c27 IPPROTO_TCP); in mqtt_client_tcp_connect()
/Zephyr-Core-3.5.0/drivers/wifi/esp_at/
Desp.h53 #define ESP_PROTO_PASSIVE(proto) (proto == IPPROTO_TCP)
56 (proto == IPPROTO_TCP || proto == IPPROTO_UDP)
Desp_offload.c58 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/
Dmain.c96 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/
Dwebsocket.rst37 sock = socket(family, SOCK_STREAM, IPPROTO_TCP);

123