/external/iptables/include/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | nf_conntrack_tuple_common.h | 22 } udp; member in union:nf_conntrack_man_proto
|
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
H A D | query.py | 83 def udp(q, where, timeout=None, port=53, af=None, source=None, source_port=0, function
|
/external/iptables/extensions/ |
H A D | libxt_udp.c | 16 "udp match options:\n" 68 if ((service = getservbyport(htons(port), "udp"))) 108 const struct xt_udp *udp = (struct xt_udp *)match->data; local 110 printf(" udp"); 111 print_ports("spt", udp->spts[0], udp->spts[1], 112 udp->invflags & XT_UDP_INV_SRCPT, 114 print_ports("dpt", udp->dpts[0], udp->dpts[1], 115 udp [all...] |
/external/android-clat/ |
H A D | dump.c | 26 #include <netinet/udp.h> 132 /* print udp header */ 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, argument 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); 142 printf("source = %x\n",ntohs(udp->source)); 143 printf("dest = %x\n",ntohs(udp->dest)); 144 printf("len = %x\n",ntohs(udp->len)); 145 printf("check = %x (mine %x)\n",udp->check,my_checksum); 148 /* print ipv4/udp header */ 149 void dump_udp(const struct udphdr *udp, cons argument 157 dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6, const uint8_t *payload, size_t payload_size) argument [all...] |
H A D | clatd_microbenchmark.c | 39 #include <netinet/udp.h> 89 struct udphdr udp = { local 92 .len = htons(len + sizeof(udp)), 98 .tot_len = htons(len + sizeof(ip) + sizeof(udp)), 109 { &udp, sizeof(udp) }, // Transport header 119 sum = ipv4_pseudo_header_checksum(&ip, ntohs(udp.len)); 120 sum = ip_checksum_add(sum, &udp, sizeof(udp)); 122 udp [all...] |
H A D | translate.c | 120 * protocol - protocol number (tcp, udp, etc) 154 * protocol - protocol number (tcp, udp, etc) 336 * takes a udp packet and sets it up for translation 338 * udp - pointer to udp header in packet 343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, argument 353 payload = (const uint8_t *) (udp + 1); 356 return udp_translate(out, pos, udp, old_sum, new_sum, payload, payload_size); 395 * common between ipv4/ipv6 - setup checksum and send udp packet 397 * udp 404 udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, uint32_t old_sum, uint32_t new_sum, const uint8_t *payload, size_t payload_size) argument [all...] |
H A D | clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; local 278 EXPECT_NE(0, udp->check) << msg << ": UDP checksum 0 should be 0xffff"; 281 EXPECT_EQ(payload_length, ntohs(udp->len)) << msg << ": Incorrect UDP length\n"; 399 struct udphdr *udp; local 403 udp = (struct udphdr *) (ip + 1); 404 pseudo_checksum = ipv4_pseudo_header_checksum(ip, ntohs(udp->len)); 409 udp = (struct udphdr *) (ip6 + 1); 410 pseudo_checksum = ipv6_pseudo_header_checksum(ip6, ntohs(udp->len), IPPROTO_UDP); 418 udp->check = 0; 419 udp 754 struct udphdr *udp; local [all...] |
/external/dnsmasq/src/ |
H A D | bpf.c | 168 u16 uh_ulen; /* udp length */ 169 u16 uh_sum; /* udp checksum */ 170 } udp; local 219 udp.uh_sport = htons(daemon->dhcp_server_port); 220 udp.uh_dport = htons(daemon->dhcp_client_port); 223 udp.uh_sum = 0; 224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); 231 sum += ((u16 *)&udp)[i]; 236 udp.uh_sum = (sum == 0xffff) ? sum : ~sum; 244 iov[2].iov_base = &udp; [all...] |
/external/libvpx/libvpx/vp8/common/ |
H A D | mfqe.c | 146 unsigned char *udp; local 234 for (up = u, udp = ud, i = 0; i < uvblksize; ++i, up += uv_stride, udp += uvd_stride) 235 memcpy(udp, up, uvblksize); 337 unsigned char *udp = ud_ptr + 4*(i*dest->uv_stride+j); local 342 for (k = 0; k < 4; ++k, up += show->uv_stride, udp += dest->uv_stride, 345 memcpy(udp, up, 4);
|
/external/ipsec-tools/src/racoon/ |
H A D | isakmp.c | 114 # include <linux/udp.h> 120 #include <netinet/udp.h> 126 # include <netinet/udp.h> 246 struct udphdr *udp; local 250 udp = (struct udphdr *)&x.lbuf[0]; 251 if (ntohs(udp->dest) == 501) { 252 ip = (struct iphdr *)(x.lbuf + sizeof(*udp)); 253 extralen += sizeof(*udp) + ip->ihl; 258 udp = (struct udphdr *)&x.lbuf[0]; 259 if (ntohs(udp [all...] |
/external/dhcpcd-6.8.2/ |
H A D | dhcp.c | 40 #include <netinet/udp.h> 115 struct udphdr udp; member in struct:udp_dhcp_packet 1596 struct udphdr *udp; local 1602 udp = &udpp->udp; 1606 * ip structure and an invalid ip_len (basically udp length). 1607 * We then fill the udp structure and put the checksum 1608 * of the whole packet into the udp checksum. 1610 * If we don't do the ordering like so then the udp checksum will be 1622 udp 1646 struct udp_dhcp_packet *udp; local 3180 get_udp_data(const uint8_t **data, const uint8_t *udp) argument [all...] |
/external/toybox/generated/ |
H A D | globals.h | 782 int udp; member in struct:tcpsvd_data
|
/external/mdnsresponder/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 606 UDPHeader udp; member in union:__anon13119
|