Home
last modified time | relevance | path

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

123

/external/tcpdump/
Dipproto.h66 #ifndef IPPROTO_UDP
67 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
Dipproto.c38 { IPPROTO_UDP, "UDP" },
Dprint-ip6.c150 nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip6_print()
201 case IPPROTO_UDP: in ip6_print()
Dprint-udp.c290 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()
Dprint-ip.c380 case IPPROTO_UDP: in ip_print_demux()
645 if (ipds->nh != IPPROTO_TCP && ipds->nh != IPPROTO_UDP && in ip_print()
/external/strace/
Dsocketutils.c294 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/
Din.h40 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
41 #define IPPROTO_UDP IPPROTO_UDP macro
/external/android-clat/
Dclatd_test.cpp50 #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 …]
Dclatd_microbenchmark.c101 .protocol = IPPROTO_UDP, in send_packet()
166 int sock = socket(AF_INET, SOCK_DGRAM | SOCK_NONBLOCK, IPPROTO_UDP); in open_socket()
Dipv4.c130 } else if (nxthdr == IPPROTO_UDP) { in ipv4_packet()
Dipv6.c162 } else if (protocol == IPPROTO_UDP) { in ipv6_packet()
/external/strace/xlat/
Dinet_protocols.h13 #if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP)
14 XLAT(IPPROTO_UDP),
Dinet_protocols.in4 IPPROTO_UDP
/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()
Dsyslogd.c260 rp.ai_protocol = IPPROTO_UDP; in open_logfiles()
268 tfd->logfd = xsocket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in open_logfiles()
/external/dnsmasq/src/
Dbpf.c201 ip.ip_p = IPPROTO_UDP; in send_via_bpf()
225 sum += htons(IPPROTO_UDP); in send_via_bpf()
/external/dhcpcd/
Dbpf-filter.h86 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6),
/external/selinux/libsepol/src/
Dports.c18 return IPPROTO_UDP; in sepol2ipproto()
31 case IPPROTO_UDP: in ipproto2sepol()
/external/iptables/extensions/
Dlibip6t_MASQUERADE.c80 entry->ipv6.proto == IPPROTO_UDP || in MASQUERADE_parse()
Dlibip6t_REDIRECT.c81 || entry->ipv6.proto == IPPROTO_UDP in REDIRECT_parse()
Dlibipt_MASQUERADE.c81 || entry->ip.proto == IPPROTO_UDP in MASQUERADE_parse()
Dlibipt_REDIRECT.c82 || entry->ip.proto == IPPROTO_UDP in REDIRECT_parse()
Dlibip6t_DNAT.c154 entry->ipv6.proto == IPPROTO_UDP || in DNAT_parse()
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c140 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()
/external/libpcap/
Dgencode.c4780 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 …]

123