Lines Matching refs:udphdr
279 unsigned short ptype, struct iphdr *ip __unused, struct udphdr *udp __unused) in await_arp()
380 static uint16_t udpchksum(struct iphdr *ip, struct udphdr *udp) in udpchksum()
406 struct udphdr *udp; in build_udp_hdr()
409 udp = (struct udphdr *)((char *)buf + sizeof(struct iphdr)); in build_udp_hdr()
434 struct iphdr *ip __unused, struct udphdr *udp __unused) in await_qdrain()
456 struct iphdr *ip, struct udphdr *udp) in await_rarp()
526 struct udphdr *udp) in await_bootp()
535 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)]; in await_bootp()
537 sizeof(struct udphdr) + sizeof(struct bootp_t) - BOOTP_VENDOR_LEN); in await_bootp()
623 struct udphdr *udp) in await_dhcp()
632 &nic.packet[ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr)]; in await_dhcp()
634 sizeof(struct udphdr) + sizeof(struct dhcp_t) - DHCP_OPT_LEN); in await_dhcp()
886 struct udphdr *udp; in await_reply()
957 (nic.packetlen >= ETH_HLEN + sizeof(struct iphdr) + sizeof(struct udphdr))) { in await_reply()
958 udp = (struct udphdr *)&nic.packet[ETH_HLEN + sizeof(struct iphdr)]; in await_reply()