Searched refs:udphdr (Results 1 – 24 of 24) sorted by relevance
/external/grub/netboot/ |
D | etherboot.h | 106 - 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;
|
D | main.c | 202 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()
|
D | fsys_tftp.c | 128 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/ |
D | print-udp.c | 111 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()
|
D | udp.h | 41 struct udphdr { struct
|
D | print-icmp6.c | 56 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()
|
D | print-icmp.c | 342 const struct udphdr *ouh; in icmp_print() 384 ouh = (struct udphdr *)(((u_char *)oip) + hlen); in icmp_print()
|
/external/dnsmasq/src/ |
D | bpf.c | 165 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/ |
D | udp.h | 45 struct udphdr { struct 57 struct udphdr ui_u; /* udp header */ argument
|
D | tftp.c | 164 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()
|
D | tftp.h | 18 struct udphdr udp;
|
D | bootp.h | 97 struct udphdr udp;
|
D | udp.c | 78 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()
|
D | bootp.c | 315 sizeof(struct ip) - sizeof(struct udphdr); in bootp_reply()
|
/external/qemu/slirp-android/ |
D | udp.h | 47 struct udphdr { struct 59 struct udphdr ui_u; /* udp header */ argument
|
D | tftp.c | 166 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()
|
D | udp.c | 80 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()
|
D | tftp.h | 18 struct udphdr udp;
|
D | bootp.h | 97 struct udphdr udp;
|
D | bootp.c | 319 sizeof(struct ip) - sizeof(struct udphdr); in bootp_reply()
|
/external/kernel-headers/original/linux/ |
D | udp.h | 22 struct udphdr { struct
|
D | skbuff.h | 243 struct udphdr *uh;
|
/external/dhcpcd/ |
D | net.c | 547 struct udphdr udp; 581 struct udphdr *udp; in make_udp_packet()
|
/external/ipsec-tools/src/racoon/ |
D | isakmp.c | 204 char lbuf[sizeof(struct udphdr) + 246 struct udphdr *udp; 250 udp = (struct udphdr *)&x.lbuf[0]; 258 udp = (struct udphdr *)&x.lbuf[0];
|