Searched refs:udphdr (Results 1 - 25 of 25) sorted by relevance

/external/qemu/slirp/
H A Dtftp.h18 struct udphdr udp;
H A Dudp.h45 struct udphdr { struct
57 struct udphdr ui_u; /* udp header */
H A Dbootp.h97 struct udphdr udp;
H A Dtftp.c164 sizeof(struct ip) - sizeof(struct udphdr);
206 sizeof(struct ip) - sizeof(struct udphdr);
262 sizeof(struct ip) - sizeof(struct udphdr);
H A Dudp.c78 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 Dbootp.c315 sizeof(struct ip) - sizeof(struct udphdr);
/external/qemu/slirp-android/
H A Dtftp.h18 struct udphdr udp;
H A Dudp.h47 struct udphdr { struct
59 struct udphdr ui_u; /* udp header */
H A Dbootp.h97 struct udphdr udp;
H A Dtftp.c166 sizeof(struct ip) - sizeof(struct udphdr);
210 sizeof(struct ip) - sizeof(struct udphdr);
268 sizeof(struct ip) - sizeof(struct udphdr);
H A Dudp.c85 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)); */
H A Dbootp.c319 sizeof(struct ip) - sizeof(struct udphdr);
/external/kernel-headers/original/linux/
H A Dudp.h22 struct udphdr { struct
H A Dskbuff.h243 struct udphdr *uh;
/external/tcpdump/
H A Dudp.h41 struct udphdr { struct
H A Dprint-udp.c111 vat_print(const void *hdr, register const struct udphdr *up)
137 rtp_print(const void *hdr, u_int len, register const struct udphdr *up)
288 register const struct udphdr *up,
319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up,
423 register const struct udphdr *up;
434 up = (struct udphdr *)bp;
452 if (length < sizeof(struct udphdr)) {
457 length -= sizeof(struct udphdr);
577 sum = udp_cksum(ip, up, length + sizeof(struct udphdr));
589 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr));
[all...]
H A Dprint-icmp6.c56 static struct udphdr *get_upperlayer(u_char *, u_int *);
241 const struct udphdr *ouh;
521 static struct udphdr *
526 struct udphdr *uh;
548 uh = (struct udphdr *)bp;
H A Dprint-icmp.c342 const struct udphdr *ouh;
384 ouh = (struct udphdr *)(((u_char *)oip) + hlen);
/external/grub/netboot/
H A Detherboot.h106 - sizeof (struct udphdr))
290 struct udphdr struct
326 struct udphdr udp;
340 struct udphdr udp;
380 struct udphdr udp;
402 #define TFTP_MIN_PACKET (sizeof(struct iphdr) + sizeof(struct udphdr) + 4)
407 struct udphdr udp;
H A Dfsys_tftp.c128 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
194 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
H A Dmain.c202 struct udphdr *udp;
208 udp = (struct udphdr *) ((unsigned long) buf + sizeof (struct iphdr));
385 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2;
429 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4;
743 struct udphdr *udp;
748 + sizeof (struct udphdr));
870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN
881 + sizeof (struct udphdr))];
/external/dnsmasq/src/
H A Dbpf.c165 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/libppp/src/
H A Dip.c303 const struct udphdr *uh;
353 uh = (const struct udphdr *)payload;
496 ip_LogDNS(const struct udphdr *uh, const char *direction)
567 const struct udphdr *uh;
650 uh = (const struct udphdr *)payload;
802 uh = (const struct udphdr *)payload;
/external/dhcpcd/
H A Dnet.c674 struct udphdr udp;
708 struct udphdr *udp;
/external/ipsec-tools/src/racoon/
H A Disakmp.c204 char lbuf[sizeof(struct udphdr) +
246 struct udphdr *udp;
250 udp = (struct udphdr *)&x.lbuf[0];
258 udp = (struct udphdr *)&x.lbuf[0];

Completed in 304 milliseconds