Home
last modified time | relevance | path

Searched refs:IPPROTO_UDP (Results 1 – 25 of 209) sorted by relevance

123456789

/external/syzkaller/sys/linux/
Dsocket_inet_udp.txt38 getsockopt$inet_udp_int(fd sock_udp, level const[IPPROTO_UDP], optname flags[udp_option_types_int],…
39 setsockopt$inet_udp_int(fd sock_udp, level const[IPPROTO_UDP], optname flags[udp_option_types_int],…
40 getsockopt$inet6_udp_int(fd sock_udp6, level const[IPPROTO_UDP], optname flags[udp_option_types_int…
41 setsockopt$inet6_udp_int(fd sock_udp6, level const[IPPROTO_UDP], optname flags[udp_option_types_int…
47 setsockopt$inet_udp_encap(fd sock_udp, level const[IPPROTO_UDP], optname const[UDP_ENCAP], optval p…
48 setsockopt$inet6_udp_encap(fd sock_udp6, level const[IPPROTO_UDP], optname const[UDP_ENCAP], optval…
Dsocket_inet_udp_arm.const4 IPPROTO_UDP = 17
Dsocket_inet_udp_ppc64le.const4 IPPROTO_UDP = 17
Dsocket_inet_udp_amd64.const4 IPPROTO_UDP = 17
Dsocket_inet_udp_386.const4 IPPROTO_UDP = 17
/external/strace/xlat/
Dinet_protocols.h55 #if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP)
57 static_assert((IPPROTO_UDP) == (17), "IPPROTO_UDP != 17");
60 # define IPPROTO_UDP 17
251 XLAT(IPPROTO_UDP),
/external/tcpdump/
Dipproto.h65 #ifndef IPPROTO_UDP
66 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
/external/iproute2/include/uapi/linux/
Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/external/kernel-headers/original/uapi/linux/
Din.h43 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
44 #define IPPROTO_UDP IPPROTO_UDP macro
/external/linux-kselftest/tools/testing/selftests/net/
Dsocket.c30 { AF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, 1 },
31 { AF_INET, SOCK_STREAM, IPPROTO_UDP, -EPROTONOSUPPORT, 1 },
Dip_defrag.c105 IPPROTO_UDP + (uint32_t)(UDP_HLEN + payload_len)); in udp_checksum()
121 IPPROTO_UDP); in udp6_checksum()
226 fraghdr->ip6f_nxt = IPPROTO_UDP; in send_udp_frags()
236 iphdr->ip_p = IPPROTO_UDP; in send_udp_frags()
/external/android-clat/
Dclatd_test.cpp58 #define IPV4_UDP_HEADER IPV4_HEADER(IPPROTO_UDP, 0x73, 0xb0)
72 #define IPV6_UDP_HEADER IPV6_HEADER(IPPROTO_UDP)
229 ASSERT_TRUE(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP || protocol == IPPROTO_ICMP) in check_packet()
254 ASSERT_TRUE(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP || protocol == IPPROTO_ICMPV6) in check_packet()
270 case IPPROTO_UDP: in check_packet()
285 if (protocol == IPPROTO_UDP) { in check_packet()
418 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP); in fix_udp_checksum()
551 case IPPROTO_UDP: in get_transport_checksum()
885 uint8_t v6_pseudo_header[] = { IPV6_PSEUDOHEADER(v6_header, IPPROTO_UDP, UDP_LEN) }; in TEST_F()
886 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *)v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.c220 pseudo_sum += htons(IPPROTO_UDP); in build_udp_v4_csum()
292 else if (cfg_encap_proto == IPPROTO_UDP) in build_packet()
316 IPPROTO_UDP, in build_packet()
324 IPPROTO_UDP, in build_packet()
354 case IPPROTO_UDP: in build_packet()
650 cfg_encap_proto = IPPROTO_UDP; in parse_opts()
/external/python/cpython2/Modules/
Dgetaddrinfo.c301 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()
/external/python/cpython3/Modules/
Dgetaddrinfo.c301 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()
/external/toybox/toys/pending/
Dtraceroute.c273 && 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()
602 resolve_addr(toys.optargs[0], AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &dest); in traceroute_main()
/external/ltp/testcases/network/stress/ns-tools/
Dns-common.c447 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()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c110 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval,
114 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval,
/external/toybox/toys/net/
Dsntp.c84 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()
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_posix.cc49 _socket = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in UdpSocketPosix()
52 _socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in UdpSocketPosix()
/external/syzkaller/sys/test/
Dtest_64_fork.const3 IPPROTO_UDP = 17
Dtest_32_shmem.const3 IPPROTO_UDP = 17
Dtest_32_fork_shmem.const3 IPPROTO_UDP = 17
Dtest_64.const18 IPPROTO_UDP = 17
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_createdestroy_svcudp_create/
Drpc_svcudp_create.c52 sock = socket(AF_UNIX, SOCK_SEQPACKET, IPPROTO_UDP); in main()

123456789