/external/tcpdump/ |
D | ipproto.h | 66 #ifndef IPPROTO_UDP 67 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
|
D | ipproto.c | 38 { IPPROTO_UDP, "UDP" },
|
D | print-ip6.c | 150 nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip6_print() 201 case IPPROTO_UDP: in ip6_print()
|
D | print-udp.c | 290 IPPROTO_UDP)); in udp_cksum() 298 IPPROTO_UDP)); in udp6_cksum() 314 if (ip6->ip6_nxt == IPPROTO_UDP) { in udpipaddr_print() 336 if (ip->ip_p == IPPROTO_UDP) { in udpipaddr_print()
|
D | print-ip.c | 380 case IPPROTO_UDP: in ip_print_demux() 645 if (ipds->nh != IPPROTO_TCP && ipds->nh != IPPROTO_UDP && in ip_print()
|
/external/strace/ |
D | socketutils.c | 294 r = inet_print(fd, AF_INET, IPPROTO_UDP, inode, "UDP"); in print_sockaddr_by_inode() 298 r = inet_print(fd, AF_INET6, IPPROTO_UDP, inode, "UDPv6"); in print_sockaddr_by_inode() 308 { AF_INET, IPPROTO_UDP, "UDP" }, in print_sockaddr_by_inode() 310 { AF_INET6, IPPROTO_UDP, "UDPv6" } in print_sockaddr_by_inode()
|
/external/kernel-headers/original/uapi/linux/ |
D | in.h | 40 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator 41 #define IPPROTO_UDP IPPROTO_UDP macro
|
/external/android-clat/ |
D | clatd_test.cpp | 50 #define IPV4_UDP_HEADER IPV4_HEADER(IPPROTO_UDP, 0x73, 0xb0) 64 #define IPV6_UDP_HEADER IPV6_HEADER(IPPROTO_UDP) 220 ASSERT_TRUE(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP || protocol == IPPROTO_ICMP) in check_packet() 245 ASSERT_TRUE(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP || protocol == IPPROTO_ICMPV6) in check_packet() 261 case IPPROTO_UDP: in check_packet() 276 if (protocol == IPPROTO_UDP) { in check_packet() 410 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP); in fix_udp_checksum() 544 case IPPROTO_UDP: in get_transport_checksum() 803 uint8_t v6_pseudo_header[] = { IPV6_PSEUDOHEADER(v6_header, IPPROTO_UDP, UDP_LEN) }; in TEST_F() 804 pseudo_checksum = ipv6_pseudo_header_checksum((struct ip6_hdr *) v6_header, UDP_LEN, IPPROTO_UDP); in TEST_F() [all …]
|
D | clatd_microbenchmark.c | 101 .protocol = IPPROTO_UDP, in send_packet() 166 int sock = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in open_socket()
|
D | ipv4.c | 130 } else if (nxthdr == IPPROTO_UDP) { in ipv4_packet()
|
D | ipv6.c | 162 } else if (protocol == IPPROTO_UDP) { in ipv6_packet()
|
/external/strace/xlat/ |
D | inet_protocols.h | 13 #if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP) 14 XLAT(IPPROTO_UDP),
|
D | inet_protocols.in | 4 IPPROTO_UDP
|
/external/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() 602 resolve_addr(toys.optargs[0], AF_INET6, SOCK_DGRAM, IPPROTO_UDP, &dest); in traceroute_main()
|
D | syslogd.c | 260 rp.ai_protocol = IPPROTO_UDP; in open_logfiles() 268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()
|
/external/dnsmasq/src/ |
D | bpf.c | 201 ip.ip_p = IPPROTO_UDP; in send_via_bpf() 225 sum += htons(IPPROTO_UDP); in send_via_bpf()
|
/external/dhcpcd/ |
D | bpf-filter.h | 86 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6),
|
/external/selinux/libsepol/src/ |
D | ports.c | 18 return IPPROTO_UDP; in sepol2ipproto() 31 case IPPROTO_UDP: in ipproto2sepol()
|
/external/iptables/extensions/ |
D | libip6t_MASQUERADE.c | 80 entry->ipv6.proto == IPPROTO_UDP || in MASQUERADE_parse()
|
D | libip6t_REDIRECT.c | 81 || entry->ipv6.proto == IPPROTO_UDP in REDIRECT_parse()
|
D | libipt_MASQUERADE.c | 81 || entry->ip.proto == IPPROTO_UDP in MASQUERADE_parse()
|
D | libipt_REDIRECT.c | 82 || entry->ip.proto == IPPROTO_UDP in REDIRECT_parse()
|
D | libip6t_DNAT.c | 154 entry->ipv6.proto == IPPROTO_UDP || in DNAT_parse()
|
/external/dnsmasq/contrib/wrt/ |
D | dhcp_lease_time.c | 140 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
|
/external/libpcap/ |
D | gencode.c | 4780 b1 = gen_proto(IPPROTO_UDP, Q_IP, Q_DEFAULT); 4781 b0 = gen_proto(IPPROTO_UDP, Q_IPV6, Q_DEFAULT); 5109 case IPPROTO_UDP: 5117 b1 = gen_portop(port, IPPROTO_UDP, dir); 5182 case IPPROTO_UDP: 5190 b1 = gen_portop6(port, IPPROTO_UDP, dir); 5285 case IPPROTO_UDP: 5293 b1 = gen_portrangeop(port1, port2, IPPROTO_UDP, dir); 5386 case IPPROTO_UDP: 5394 b1 = gen_portrangeop6(port1, port2, IPPROTO_UDP, dir); [all …]
|