/Zephyr-Core-2.7.6/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-Core-2.7.6/tests/net/6lo/src/ |
D | main.c | 551 .ipv6.nexthdr = IPPROTO_UDP, 573 .ipv6.nexthdr = IPPROTO_UDP, 595 .ipv6.nexthdr = IPPROTO_UDP, 617 .ipv6.nexthdr = IPPROTO_UDP, 639 .ipv6.nexthdr = IPPROTO_UDP, 661 .ipv6.nexthdr = IPPROTO_UDP, 720 .ipv6.nexthdr = IPPROTO_UDP, 740 .ipv6.nexthdr = IPPROTO_UDP, 795 .ipv6.nexthdr = IPPROTO_UDP, 835 .ipv6.nexthdr = IPPROTO_UDP, [all …]
|
/Zephyr-Core-2.7.6/tests/net/ieee802154/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,
|
/Zephyr-Core-2.7.6/tests/net/socket/ |
D | socket_helpers.h | 19 ret = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in prepare_listen_sock_udp_v4() 38 ret = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in prepare_listen_sock_udp_v6() 60 *sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in prepare_sock_udp_v4() 78 *sock = zsock_socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in prepare_sock_udp_v6()
|
/Zephyr-Core-2.7.6/tests/net/dhcpv4/src/ |
D | main.c | 204 IPPROTO_UDP, K_FOREVER); in prepare_dhcp_offer() 231 net_ipv4_finalize(pkt, IPPROTO_UDP); in prepare_dhcp_offer() 245 IPPROTO_UDP, K_FOREVER); in prepare_dhcp_ack() 272 net_ipv4_finalize(pkt, IPPROTO_UDP); in prepare_dhcp_ack()
|
/Zephyr-Core-2.7.6/tests/net/context/src/ |
D | main.c | 80 ret = net_context_get(AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, &context); in test_net_ctx_get_fail() 84 ret = net_context_get(AF_INET6, 10, IPPROTO_UDP, &context); in test_net_ctx_get_fail() 92 ret = net_context_get(99, SOCK_DGRAM, IPPROTO_UDP, &context); in test_net_ctx_get_fail() 104 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, NULL); in test_net_ctx_get_fail() 114 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in test_net_ctx_get_success() 135 IPPROTO_UDP, &contexts[i]); in test_net_ctx_get_all() 140 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &context); in test_net_ctx_get_all() 155 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_net_ctx_create() 160 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_net_ctx_create() 165 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in test_net_ctx_create()
|
/Zephyr-Core-2.7.6/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-Core-2.7.6/tests/net/socket/misc/src/ |
D | main.c | 290 sock_c = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_ipv4_so_bindtodevice() 292 sock_s = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_ipv4_so_bindtodevice() 318 sock_c = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_ipv6_so_bindtodevice() 320 sock_s = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in test_ipv6_so_bindtodevice()
|
/Zephyr-Core-2.7.6/tests/net/checksum_offload/src/ |
D | main.c | 478 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_tx_chksum_offload_disabled_test_v6() 529 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in test_tx_chksum_offload_disabled_test_v4() 580 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_tx_chksum_offload_enabled_test_v6() 631 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in test_tx_chksum_offload_enabled_test_v4() 725 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_rx_chksum_offload_disabled_test_v6() 781 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in test_rx_chksum_offload_disabled_test_v4() 837 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in test_rx_chksum_offload_enabled_test_v6() 891 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in test_rx_chksum_offload_enabled_test_v4()
|
/Zephyr-Core-2.7.6/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-Core-2.7.6/tests/net/lib/dns_sd/src/ |
D | main.c | 684 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, &ctx_v4); in test_setup_dst_addr() 688 IPPROTO_UDP, K_SECONDS(1)); in test_setup_dst_addr() 706 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &ctx_v6); in test_setup_dst_addr() 710 IPPROTO_UDP, K_SECONDS(1)); in test_setup_dst_addr() 725 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, &ctx_xx); in test_setup_dst_addr() 729 IPPROTO_UDP, K_SECONDS(1)); in test_setup_dst_addr()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | ipv4.c | 110 next_header_proto == IPPROTO_UDP) { in net_ipv4_finalize() 305 !(hdr->proto == IPPROTO_UDP && in net_ipv4_input() 356 case IPPROTO_UDP: in net_ipv4_input()
|
D | net_private.h | 193 uint16_t chksum = net_calc_chksum(pkt, IPPROTO_UDP); in net_calc_chksum_udp() 200 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 | 137 return net_conn_register(IPPROTO_UDP, family, remote_addr, local_addr, in net_udp_register()
|
/Zephyr-Core-2.7.6/subsys/net/lib/sockets/ |
D | getaddrinfo.c | 102 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb() 149 res->ai_protocol = IPPROTO_UDP; in getaddrinfo_null_host() 343 protocol = IPPROTO_UDP; in try_resolve_literal_addr()
|
/Zephyr-Core-2.7.6/samples/net/zperf/src/ |
D | zperf_shell.c | 469 is_udp ? IPPROTO_UDP : IPPROTO_TCP, in setup_contexts() 485 is_udp ? IPPROTO_UDP : IPPROTO_TCP, in setup_contexts() 703 is_udp = proto == IPPROTO_UDP; in shell_cmd_upload() 831 return shell_cmd_upload(shell, argc, argv, IPPROTO_UDP); in cmd_udp_upload() 844 is_udp = proto == IPPROTO_UDP; in shell_cmd_upload2() 953 return shell_cmd_upload2(shell, argc, argv, IPPROTO_UDP); in cmd_udp_upload2()
|
D | zperf_udp_receiver.c | 307 ret = net_context_get(AF_INET, SOCK_DGRAM, IPPROTO_UDP, in zperf_udp_receiver_init() 357 ret = net_context_get(AF_INET6, SOCK_DGRAM, IPPROTO_UDP, in zperf_udp_receiver_init()
|
/Zephyr-Core-2.7.6/subsys/net/lib/capture/ |
D | capture.c | 351 ret = net_context_get(params.family, SOCK_DGRAM, IPPROTO_UDP, in net_capture_setup() 616 ret = net_pkt_alloc_buffer(ip, len, IPPROTO_UDP, PKT_ALLOC_TIME); in capture_send() 661 net_ipv4_finalize(pkt, IPPROTO_UDP); in capture_send() 666 net_ipv6_finalize(pkt, IPPROTO_UDP); in capture_send()
|
/Zephyr-Core-2.7.6/drivers/modem/ |
D | ublox-sara-r4.c | 340 if (!sock->is_connected && sock->ip_proto != IPPROTO_UDP) { in send_socket_data() 345 if (!dst_addr && sock->ip_proto == IPPROTO_UDP) { in send_socket_data() 360 if (sock->ip_proto == IPPROTO_UDP) { in send_socket_data() 405 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() 1572 if (sock->ip_proto == IPPROTO_UDP) { in offload_connect() 1649 if (!sock->is_connected && sock->ip_proto != IPPROTO_UDP) { in offload_recvfrom() 1668 sock->ip_proto == IPPROTO_UDP ? "RF" : "RD", sock->id, in offload_recvfrom()
|
/Zephyr-Core-2.7.6/tests/net/net_pkt/src/ |
D | main.c | 173 IPPROTO_UDP, K_NO_WAIT); in test_net_pkt_allocate_with_buffer() 189 IPPROTO_UDP, K_NO_WAIT); in test_net_pkt_allocate_with_buffer() 399 AF_INET, IPPROTO_UDP, K_NO_WAIT); in test_net_pkt_advanced_basics() 491 AF_INET, IPPROTO_UDP, K_NO_WAIT); in test_net_pkt_easier_rw_usage()
|
/Zephyr-Core-2.7.6/tests/net/pm/src/ |
D | main.c | 136 sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in test_pm()
|
/Zephyr-Core-2.7.6/tests/net/socket/getaddrinfo/src/ |
D | main.c | 315 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in test_getaddrinfo_num_ipv4() 409 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in test_getaddrinfo_num_ipv6() 642 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in test_getaddrinfo_null_host() 656 zassert_equal(res->ai_protocol, IPPROTO_UDP, ""); in test_getaddrinfo_null_host()
|
/Zephyr-Core-2.7.6/subsys/net/lib/tftp/ |
D | tftp_client.c | 164 sock = socket(server_addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); in tftp_get()
|
/Zephyr-Core-2.7.6/subsys/mgmt/mcumgr/ |
D | smp_udp.c | 161 int sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); in create_socket()
|