Lines Matching refs:ETH_HLEN
367 tr = (struct tftp_t *) &nic.packet[ETH_HLEN];
747 unsigned int protohdrlen = (ETH_HLEN + sizeof (struct iphdr)
764 if (nic.packetlen >= ETH_HLEN)
773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
778 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN];
824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
827 arpreply = (struct arprequest *) &nic.packet[ETH_HLEN];
848 ip = (struct iphdr *) &nic.packet[ETH_HLEN];
870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN
880 &nic.packet[(ETH_HLEN + sizeof (struct iphdr)
885 >= (ETH_HLEN + sizeof (struct bootp_t) - BOOTP_VENDOR_LEN))
888 >= (ETH_HLEN + sizeof (struct bootp_t) - DHCP_OPT_LEN))