/external/kernel-headers/original/uapi/linux/ |
H A D | udp.h | 22 struct udphdr { struct
|
/external/qemu/slirp/ |
H A D | tftp.h | 18 struct udphdr udp;
|
H A D | udp.h | 45 struct udphdr { struct 57 struct udphdr ui_u; /* udp header */
|
H A D | bootp.h | 97 struct udphdr udp;
|
H A D | tftp.c | 164 sizeof(struct ip) - sizeof(struct udphdr); 206 sizeof(struct ip) - sizeof(struct udphdr); 262 sizeof(struct ip) - sizeof(struct udphdr);
|
H A D | udp.c | 78 register struct udphdr *uh; 105 uh = (struct udphdr *)((caddr_t)ip + iphlen); 222 iphlen += sizeof(struct udphdr); 282 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */
|
H A D | bootp.c | 315 sizeof(struct ip) - sizeof(struct udphdr);
|
/external/qemu/slirp-android/ |
H A D | tftp.h | 18 struct udphdr udp;
|
H A D | udp.h | 47 struct udphdr { struct 59 struct udphdr ui_u; /* udp header */
|
H A D | bootp.h | 97 struct udphdr udp;
|
H A D | tftp.c | 166 sizeof(struct ip) - sizeof(struct udphdr); 207 sizeof(struct ip) - sizeof(struct udphdr); 265 sizeof(struct ip) - sizeof(struct udphdr);
|
H A D | udp.c | 85 register struct udphdr *uh; 112 uh = (struct udphdr *)((caddr_t)ip + iphlen); 272 iphlen += sizeof(struct udphdr); 337 ui->ui_len = htons(m->m_len - sizeof(struct ip)); /* + sizeof (struct udphdr)); */
|
/external/android-clat/ |
H A D | dump.h | 23 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, 31 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6,
|
H A D | translate.h | 91 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 97 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp,
|
H A D | translate.c | 343 int udp_packet(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 348 if(len < sizeof(struct udphdr)) { 354 payload_size = len - sizeof(struct udphdr); 404 int udp_translate(clat_packet out, clat_packet_index pos, const struct udphdr *udp, 406 struct udphdr *udp_targ = out[pos].iov_base; 408 memcpy(udp_targ, udp, sizeof(struct udphdr)); 410 out[pos].iov_len = sizeof(struct udphdr);
|
H A D | dump.c | 133 void dump_udp_generic(const struct udphdr *udp, uint32_t temp_checksum, 137 temp_checksum = ip_checksum_add(temp_checksum, udp, sizeof(struct udphdr)); 149 void dump_udp(const struct udphdr *udp, const struct iphdr *ip, 157 void dump_udp6(const struct udphdr *udp, const struct ip6_hdr *ip6,
|
H A D | clatd_test.cpp | 277 struct udphdr *udp = (struct udphdr *) payload; 399 struct udphdr *udp; 403 udp = (struct udphdr *) (ip + 1); 409 udp = (struct udphdr *) (ip6 + 1); 548 return ((struct udphdr *) payload)->check; 754 ASSERT_EQ(sizeof(struct udphdr), sizeof(udp_header)) << "Test UDP header: incorrect length\n"; 757 struct udphdr *udp; 759 udp = (struct udphdr *) (v4_udp_packet + sizeof(struct iphdr)); 765 udp = (struct udphdr *) (v6_udp_packe 814 uint8_t udphdr[] = { UDP_HEADER }; local [all...] |
H A D | ipv4.c | 131 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum,
|
H A D | ipv6.c | 163 iov_len = udp_packet(out, pos + 2, (const struct udphdr *) next_header, old_sum, new_sum,
|
/external/tcpdump/ |
H A D | udp.h | 41 struct udphdr { struct
|
H A D | print-udp.c | 109 vat_print(const void *hdr, register const struct udphdr *up) 135 rtp_print(const void *hdr, u_int len, register const struct udphdr *up) 286 register const struct udphdr *up, 294 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, 362 register const struct udphdr *up; 373 up = (struct udphdr *)bp; 391 if (length < sizeof(struct udphdr)) { 396 length -= sizeof(struct udphdr); 544 sum = udp_cksum(ip, up, length + sizeof(struct udphdr)); 558 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr)); [all...] |
H A D | print-icmp6.c | 56 static struct udphdr *get_upperlayer(u_char *, u_int *); 309 const struct udphdr *ouh; 594 static struct udphdr * 599 struct udphdr *uh; 621 uh = (struct udphdr *)bp;
|
H A D | print-icmp.c | 342 const struct udphdr *ouh; 385 ouh = (struct udphdr *)(((u_char *)oip) + hlen);
|
/external/dnsmasq/src/ |
H A D | bpf.c | 165 struct udphdr { struct 204 sizeof(struct udphdr) + 224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); 230 for (i = 0; i < sizeof(struct udphdr)/2; i++)
|
/external/iputils/Modules/ |
H A D | pg3.c | 243 struct udphdr *udph; 258 udph = (struct udphdr*)skb_put(skb, sizeof( struct udphdr)); 269 udph->len= htons(datalen+8); /* DATA + udphdr */
|