/third_party/musl/src/network/ |
D | lookup_serv.c | 33 proto = IPPROTO_UDP; in __lookup_serv() 34 case IPPROTO_UDP: in __lookup_serv() 55 if (proto != IPPROTO_UDP) { in __lookup_serv() 63 buf[cnt++].proto = IPPROTO_UDP; in __lookup_serv() 103 buf[cnt++].proto = IPPROTO_UDP; in __lookup_serv() 106 if (proto == IPPROTO_UDP) continue; in __lookup_serv()
|
D | getservbyname_r.c | 34 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP; in getservbyname_r()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind05.c | 48 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_addr, 54 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv4_any_addr, 62 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv6_addr, 68 {SOCK_DGRAM, IPPROTO_UDP, (struct sockaddr *)&ipv6_any_addr,
|
/third_party/libnl/include/linux-private/linux/ |
D | in.h | 43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator 44 #define IPPROTO_UDP IPPROTO_UDP macro
|
/third_party/musl/libc-test/src/functional/ |
D | socket.c | 20 TESTE((s=socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP))>=0); in main() 27 TESTE((c=socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP))>=0); in main()
|
/third_party/python/Modules/ |
D | getaddrinfo.c | 301 case IPPROTO_UDP: in getaddrinfo() 315 if (pai->ai_protocol != IPPROTO_UDP && in getaddrinfo() 318 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo() 340 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo() 368 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo()
|
/third_party/toybox/toys/pending/ |
D | traceroute.c | 273 && hip->ip_p == IPPROTO_UDP in do_trace() 400 if (hdr_next == IPPROTO_UDP) { in do_trace() 531 TT.snd_sock = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() 537 SOCK_DGRAM : SOCK_RAW), ((toys.optflags & FLAG_U) ? IPPROTO_UDP : in traceroute_main() 557 } else TT.snd_sock = xsocket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in traceroute_main() 601 resolve_addr(toys.optargs[0], AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &dest); in traceroute_main()
|
/third_party/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 110 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 114 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval,
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
D | socket_ext.c | 128 TEST((recvFd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) >= 0); in sendto_and_recvfrom_0010() 135 TEST((sendFd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP)) >= 0); in sendto_and_recvfrom_0010()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
D | ns-common.c | 447 hints.ai_protocol = IPPROTO_UDP; in get_maddrinfo() 545 hints.ai_protocol = IPPROTO_UDP; in create_source_filter() 552 hints.ai_protocol = IPPROTO_UDP; in create_source_filter()
|
D | ns-mcast_join.c | 312 sock_array[idx] = socket(family, SOCK_DGRAM, IPPROTO_UDP); in join_group() 442 sd = socket(family, SOCK_DGRAM, IPPROTO_UDP); in join_leave_group()
|
/third_party/toybox/toys/net/ |
D | sntp.c | 84 ai = xgetaddrinfo(*toys.optargs, TT.p, AF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, in sntp_main() 100 } else fd = xsocket(ai->ai_family, SOCK_DGRAM, IPPROTO_UDP); in sntp_main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/ |
D | rpc_svcudp_create.c | 51 sock = socket(AF_UNIX, SOCK_SEQPACKET, IPPROTO_UDP); in main()
|
D | rpc_svcudp_create_stress.c | 59 sock = socket(AF_UNIX, SOCK_SEQPACKET, IPPROTO_UDP); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_bufcreate/ |
D | rpc_svcudp_bufcreate.c | 55 sock = socket(AF_UNIX, SOCK_SEQPACKET, IPPROTO_UDP); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_set/ |
D | rpc_pmap_set.c | 60 test_status = !pmap_set(progNum, VERSNUM, IPPROTO_UDP, port); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_unset/ |
D | rpc_pmap_unset.c | 59 pmap_set(progNum, VERSNUM, IPPROTO_UDP, port); in main()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_getport/ |
D | rpc_pmap_getport.c | 63 getPort = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main()
|
/third_party/boost/boost/asio/ip/ |
D | udp.hpp | 70 return BOOST_ASIO_OS_DEF(IPPROTO_UDP); in protocol()
|
/third_party/boost/libs/asio/include/boost/asio/ip/ |
D | udp.hpp | 70 return BOOST_ASIO_OS_DEF(IPPROTO_UDP); in protocol()
|
/third_party/grpc/third_party/address_sorting/ |
D | address_sorting_windows.c | 58 IPPROTO_UDP); in windows_source_addr_factory_get_source_addr()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_addrmanagmt_pmap_rmtcall/ |
D | rpc_pmap_rmtcall.c | 69 port = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main()
|
D | rpc_pmap_rmtcall_stress.c | 73 port = pmap_getport(&sin, progNum, VERSNUM, IPPROTO_UDP); in main()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getservbyname_r.c | 34 else if (!strcmp(prots, "udp")) proto = IPPROTO_UDP; in getservbyname_r()
|
/third_party/mbedtls/library/ |
D | net_sockets.c | 187 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_connect() 234 hints.ai_protocol = proto == MBEDTLS_NET_PROTO_UDP ? IPPROTO_UDP : IPPROTO_TCP; in mbedtls_net_bind() 415 SOCK_DGRAM, IPPROTO_UDP ) ) < 0 || in mbedtls_net_accept()
|