Home
last modified time | relevance | path

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

1234

/external/tcpdump/
Dipproto.h64 #ifndef IPPROTO_UDP
65 #define IPPROTO_UDP 17 /* user datagram protocol */ macro
Dipproto.c34 { IPPROTO_UDP, "UDP" },
Dprint-ip6.c148 nh != IPPROTO_TCP && nh != IPPROTO_UDP && in ip6_print()
199 case IPPROTO_UDP: in ip6_print()
Dprint-udp.c279 IPPROTO_UDP); in udp_cksum()
287 IPPROTO_UDP); in udp6_cksum()
303 if (ip6->ip6_nxt == IPPROTO_UDP) { in udpipaddr_print()
325 if (ip->ip_p == IPPROTO_UDP) { in udpipaddr_print()
/external/strace/
Dsocketutils.c322 r = inet_print(fd, AF_INET, IPPROTO_UDP, inode, "UDP"); in print_sockaddr_by_inode()
326 r = inet_print(fd, AF_INET6, IPPROTO_UDP, inode, "UDPv6"); in print_sockaddr_by_inode()
336 { AF_INET, IPPROTO_UDP, "UDP" }, in print_sockaddr_by_inode()
338 { AF_INET6, IPPROTO_UDP, "UDPv6" } in print_sockaddr_by_inode()
/external/iproute2/include/linux/
Din.h42 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
43 #define IPPROTO_UDP IPPROTO_UDP macro
/external/kernel-headers/original/uapi/linux/
Din.h42 IPPROTO_UDP = 17, /* User Datagram Protocol */ enumerator
43 #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.h20 #if defined(IPPROTO_UDP) || (defined(HAVE_DECL_IPPROTO_UDP) && HAVE_DECL_IPPROTO_UDP)
21 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()
/external/iproute2/tc/
Df_flower.c76 ip_proto = IPPROTO_UDP; in flower_parse_ip_proto()
146 } else if (ip_port == IPPROTO_UDP) { in flower_parse_port()
384 else if (ip_proto == IPPROTO_UDP) in flower_print_ip_proto()
443 else if (ip_proto == IPPROTO_UDP) in flower_print_port()
/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/dhcpcd-6.8.2/
Dbpf-filter.h85 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, IPPROTO_UDP, 0, 6),
/external/dnsmasq/src/
Dbpf.c201 ip.ip_p = IPPROTO_UDP; in send_via_bpf()
225 sum += htons(IPPROTO_UDP); in send_via_bpf()
/external/selinux/libsepol/src/
Dports.c18 return IPPROTO_UDP; in sepol2ipproto()
31 case IPPROTO_UDP: in ipproto2sepol()
/external/libevent/
Devutil.c586 if ((fd = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP)) >= 0 && in evutil_check_interfaces()
609 if ((fd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP)) >= 0 && in evutil_check_interfaces()
663 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo()
749 case IPPROTO_UDP: in evutil_unparse_protoname()
773 hints->ai_protocol = IPPROTO_UDP; in evutil_getaddrinfo_infer_protocols()
780 if (hints->ai_protocol == IPPROTO_UDP) in evutil_getaddrinfo_infer_protocols()
1177 ai_new->ai_protocol = IPPROTO_UDP; in apply_socktype_protocol_hack()
/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dsocket_types.hpp95 # define ASIO_OS_DEF_IPPROTO_UDP IPPROTO_UDP
/external/iptables/extensions/
Dlibip6t_MASQUERADE.c80 entry->ipv6.proto == IPPROTO_UDP || in MASQUERADE_parse()
Dlibipt_MASQUERADE.c81 || entry->ip.proto == IPPROTO_UDP in MASQUERADE_parse()
Dlibip6t_REDIRECT.c81 || entry->ipv6.proto == IPPROTO_UDP in REDIRECT_parse()
/external/dnsmasq/contrib/wrt/
Ddhcp_lease_time.c140 int fd = socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP); in main()

1234