/Zephyr-latest/tests/net/socket/register/src/ |
D | main.c | 33 .test_case.proto = IPPROTO_UDP, 40 .test_case.proto = IPPROTO_UDP, 70 .test_case.proto = IPPROTO_UDP, 77 .test_case.proto = IPPROTO_UDP, 84 .test_case.proto = IPPROTO_UDP, 91 .test_case.proto = IPPROTO_UDP, 98 .test_case.proto = IPPROTO_UDP,
|
/Zephyr-latest/tests/net/ieee802154/6lo_fragment/src/ |
D | main.c | 310 .ipv6.nexthdr = IPPROTO_UDP, 327 .ipv6.nexthdr = IPPROTO_UDP, 344 .ipv6.nexthdr = IPPROTO_UDP, 361 .ipv6.nexthdr = IPPROTO_UDP, 378 .ipv6.nexthdr = IPPROTO_UDP, 395 .ipv6.nexthdr = IPPROTO_UDP, 412 .ipv6.nexthdr = IPPROTO_UDP, 429 .ipv6.nexthdr = IPPROTO_UDP, 447 .ipv6.nexthdr = IPPROTO_UDP,
|
/Zephyr-latest/tests/net/6lo/src/ |
D | main.c | 557 .ipv6.nexthdr = IPPROTO_UDP, 579 .ipv6.nexthdr = IPPROTO_UDP, 601 .ipv6.nexthdr = IPPROTO_UDP, 623 .ipv6.nexthdr = IPPROTO_UDP, 645 .ipv6.nexthdr = IPPROTO_UDP, 667 .ipv6.nexthdr = IPPROTO_UDP, 726 .ipv6.nexthdr = IPPROTO_UDP, 746 .ipv6.nexthdr = IPPROTO_UDP, 801 .ipv6.nexthdr = IPPROTO_UDP, 841 .ipv6.nexthdr = IPPROTO_UDP, [all …]
|
/Zephyr-latest/tests/net/socket/ |
D | socket_helpers.h | 25 ret = zsock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in prepare_listen_sock_udp_v4() 44 ret = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in prepare_listen_sock_udp_v6() 66 *sock = zsock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in prepare_sock_udp_v4() 84 *sock = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in prepare_sock_udp_v6()
|
/Zephyr-latest/samples/net/promiscuous_mode/src/ |
D | main.c | 105 case IPPROTO_UDP: 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-latest/tests/net/context/src/ |
D | main.c | 80 ret = net_context_get(AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST() 84 ret = net_context_get(AF_INET6, 10, IPPROTO_UDP, &context); in ZTEST() 92 ret = net_context_get(99, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST() 104 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, NULL); in ZTEST() 114 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST() 135 IPPROTO_UDP, &contexts[i]); in ZTEST() 140 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in ZTEST() 155 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in net_ctx_create() 160 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in net_ctx_create() 165 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in net_ctx_create()
|
/Zephyr-latest/tests/net/dhcpv4/client/src/ |
D | main.c | 280 IPPROTO_UDP, K_FOREVER); in prepare_dhcp_offer() 307 net_ipv4_finalize(pkt, IPPROTO_UDP); in prepare_dhcp_offer() 321 IPPROTO_UDP, K_FOREVER); in prepare_dhcp_ack() 348 net_ipv4_finalize(pkt, IPPROTO_UDP); in prepare_dhcp_ack()
|
/Zephyr-latest/tests/net/udp/src/ |
D | main.c | 243 IPPROTO_UDP, K_SECONDS(1)); in send_ipv6_udp_msg() 253 net_ipv6_finalize(pkt, IPPROTO_UDP); in send_ipv6_udp_msg() 294 IPPROTO_UDP, K_SECONDS(1)); in send_ipv6_udp_long_msg() 322 net_ipv6_finalize(pkt, IPPROTO_UDP); in send_ipv6_udp_long_msg() 360 IPPROTO_UDP, K_SECONDS(1)); in send_ipv4_udp_msg() 370 net_ipv4_finalize(pkt, IPPROTO_UDP); in send_ipv4_udp_msg()
|
/Zephyr-latest/tests/net/checksum_offload/src/ |
D | main.c | 233 if (test_proto == IPPROTO_UDP) { in test_receiving() 293 if (test_proto == IPPROTO_UDP) { in test_fragment() 356 if (test_proto == IPPROTO_UDP) { in eth_tx_offloading_disabled() 399 if (test_proto == IPPROTO_UDP) { in eth_tx_offloading_enabled() 695 ret = net_context_get(family, SOCK_DGRAM, IPPROTO_UDP, &net_ctx); in test_udp_context_prepare() 731 test_proto = IPPROTO_UDP; in test_tx_chksum() 779 test_proto = IPPROTO_UDP; in test_tx_chksum_udp_frag() 1008 test_proto = IPPROTO_UDP; in test_rx_chksum() 1065 test_proto = IPPROTO_UDP; in test_rx_chksum_udp_frag() 1123 test_proto = IPPROTO_UDP; in test_rx_chksum_udp_frag_bad()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 316 sock_c = zsock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_ipv4_so_bindtodevice() 318 sock_s = zsock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_ipv4_so_bindtodevice() 348 sock_c = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_ipv6_so_bindtodevice() 350 sock_s = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_ipv6_so_bindtodevice() 384 sock_c = zsock_socket(family, SOCK_DGRAM, IPPROTO_UDP); in test_getpeername() 541 sock_c = zsock_socket(family, SOCK_DGRAM, IPPROTO_UDP); in test_getsockname_udp() 543 sock_s = zsock_socket(family, SOCK_DGRAM, IPPROTO_UDP); in test_getsockname_udp() 906 sock_u = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in ZTEST()
|
/Zephyr-latest/tests/posix/headers/src/ |
D | netinet_in_h.c | 73 zexpect_not_equal(-1, IPPROTO_UDP); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | udp.c | 98 ret = net_context_get(addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in cmd_net_udp_bind() 225 ret = net_context_get(addr.sa_family, SOCK_DGRAM, IPPROTO_UDP, in cmd_net_udp_send()
|
D | sockets.c | 76 obj->socket_proto == IPPROTO_UDP ? 'U' : in walk_sockets()
|
/Zephyr-latest/subsys/net/ip/ |
D | ipv4.c | 138 next_header_proto == IPPROTO_UDP) { in net_ipv4_finalize() 349 !(hdr->proto == IPPROTO_UDP && in net_ipv4_input() 405 case IPPROTO_UDP: in net_ipv4_input()
|
D | net_private.h | 327 uint16_t chksum = net_calc_chksum(pkt, IPPROTO_UDP); in net_calc_chksum_udp() 334 return net_calc_chksum(pkt, IPPROTO_UDP); in net_calc_verify_chksum_udp()
|
D | tp.c | 361 ret = net_ipv4_finalize(pkt, IPPROTO_UDP); in udp_finalize_pkt() 365 ret = net_ipv6_finalize(pkt, IPPROTO_UDP); in udp_finalize_pkt() 418 af, IPPROTO_UDP, K_NO_WAIT); in tp_output_pkt_alloc()
|
D | udp.c | 140 return net_conn_register(IPPROTO_UDP, family, remote_addr, local_addr, in net_udp_register()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb() 210 res->ai_protocol = IPPROTO_UDP; in getaddrinfo_null_host() 374 protocol = IPPROTO_UDP; in try_resolve_literal_addr()
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 318 if (!sock->is_connected && sock->ip_proto != IPPROTO_UDP) { in send_socket_data() 323 if (!dst_addr && sock->ip_proto == IPPROTO_UDP) { in send_socket_data() 343 if (sock->ip_proto == IPPROTO_UDP) { in send_socket_data() 401 if (sock->ip_proto != IPPROTO_UDP) { in send_socket_data() 1401 if (sock->ip_proto == IPPROTO_UDP) { in create_socket() 1501 if (sock->is_connected || sock->ip_proto == IPPROTO_UDP) { in offload_close() 1574 if (sock->ip_proto == IPPROTO_UDP) { in offload_connect() 1633 if (!sock->is_connected && sock->ip_proto != IPPROTO_UDP) { in offload_recvfrom() 1652 sock->ip_proto == IPPROTO_UDP ? "RF" : "RD", sock->id, in offload_recvfrom() 1953 proto != IPPROTO_UDP && in offload_is_supported()
|
/Zephyr-latest/subsys/net/lib/capture/ |
D | capture.c | 347 ret = net_context_get(params.family, SOCK_DGRAM, IPPROTO_UDP, in net_capture_setup() 642 ret = net_pkt_alloc_buffer(ip, len, IPPROTO_UDP, PKT_ALLOC_TIME); in capture_send() 689 net_ipv4_finalize(pkt, IPPROTO_UDP); in capture_send() 694 net_ipv6_finalize(pkt, IPPROTO_UDP); in capture_send()
|
/Zephyr-latest/samples/net/cellular_modem/src/ |
D | main.c | 141 socket_fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in sample_echo_packet() 229 socket_fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in sample_transmit_packets()
|
/Zephyr-latest/tests/net/pm/src/ |
D | main.c | 133 sock = zsock_socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in ZTEST()
|
/Zephyr-latest/subsys/net/lib/tftp/ |
D | tftp_client.c | 261 sock = zsock_socket(client->server.sa_family, SOCK_DGRAM, IPPROTO_UDP); in tftp_get() 386 sock = zsock_socket(client->server.sa_family, SOCK_DGRAM, IPPROTO_UDP); in tftp_put()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_common.c | 118 int type = (proto == IPPROTO_UDP) ? SOCK_DGRAM : SOCK_STREAM; in zperf_prepare_upload_sock()
|
/Zephyr-latest/samples/net/sockets/echo_service/src/ |
D | main.c | 154 sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in setup_udp_socket()
|