Home
last modified time | relevance | path

Searched refs:udphdr (Results 1 – 24 of 24) sorted by relevance

/external/grub/netboot/
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;
Dmain.c202 struct udphdr *udp; in udp_transmit()
208 udp = (struct udphdr *) ((unsigned long) buf + sizeof (struct iphdr)); in udp_transmit()
385 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2; in tftp()
429 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4; in tftp()
743 struct udphdr *udp; in await_reply()
748 + sizeof (struct udphdr)); in await_reply()
870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN in await_reply()
881 + sizeof (struct udphdr))]; in await_reply()
Dfsys_tftp.c128 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 2; in buf_fill()
194 len = ntohs (tr->udp.len) - sizeof (struct udphdr) - 4; in buf_fill()
/external/tcpdump/
Dprint-udp.c111 vat_print(const void *hdr, register const struct udphdr *up) in vat_print()
137 rtp_print(const void *hdr, u_int len, register const struct udphdr *up) in rtp_print()
288 register const struct udphdr *up, in udp_cksum()
319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum()
423 register const struct udphdr *up; in udp_print()
434 up = (struct udphdr *)bp; in udp_print()
452 if (length < sizeof(struct udphdr)) { in udp_print()
457 length -= sizeof(struct udphdr); in udp_print()
577 sum = udp_cksum(ip, up, length + sizeof(struct udphdr)); in udp_print()
589 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr)); in udp_print()
Dudp.h41 struct udphdr { struct
Dprint-icmp6.c56 static struct udphdr *get_upperlayer(u_char *, u_int *);
241 const struct udphdr *ouh; in icmp6_print()
521 static struct udphdr *
526 struct udphdr *uh; in get_upperlayer()
548 uh = (struct udphdr *)bp; in get_upperlayer()
Dprint-icmp.c342 const struct udphdr *ouh; in icmp_print()
384 ouh = (struct udphdr *)(((u_char *)oip) + hlen); in icmp_print()
/external/dnsmasq/src/
Dbpf.c165 struct udphdr { in send_via_bpf() struct
204 sizeof(struct udphdr) + in send_via_bpf()
224 udp.uh_ulen = sum = htons(sizeof(struct udphdr) + len); in send_via_bpf()
230 for (i = 0; i < sizeof(struct udphdr)/2; i++) in send_via_bpf()
/external/qemu/slirp/
Dudp.h45 struct udphdr { struct
57 struct udphdr ui_u; /* udp header */ argument
Dtftp.c164 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_oack()
206 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_error()
262 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_data()
Dtftp.h18 struct udphdr udp;
Dbootp.h97 struct udphdr udp;
Dudp.c78 register struct udphdr *uh; in udp_input()
105 uh = (struct udphdr *)((caddr_t)ip + iphlen); in udp_input()
222 iphlen += sizeof(struct udphdr); in udp_input()
Dbootp.c315 sizeof(struct ip) - sizeof(struct udphdr); in bootp_reply()
/external/qemu/slirp-android/
Dudp.h47 struct udphdr { struct
59 struct udphdr ui_u; /* udp header */ argument
Dtftp.c166 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_oack()
210 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_error()
268 sizeof(struct ip) - sizeof(struct udphdr); in tftp_send_data()
Dudp.c80 register struct udphdr *uh; in udp_input()
107 uh = (struct udphdr *)((caddr_t)ip + iphlen); in udp_input()
224 iphlen += sizeof(struct udphdr); in udp_input()
Dtftp.h18 struct udphdr udp;
Dbootp.h97 struct udphdr udp;
Dbootp.c319 sizeof(struct ip) - sizeof(struct udphdr); in bootp_reply()
/external/kernel-headers/original/linux/
Dudp.h22 struct udphdr { struct
Dskbuff.h243 struct udphdr *uh;
/external/dhcpcd/
Dnet.c547 struct udphdr udp;
581 struct udphdr *udp; in make_udp_packet()
/external/ipsec-tools/src/racoon/
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];