Home | History | Annotate | Download | only in netboot

Lines Matching refs:nic

42 #include <nic.h>
367 tr = (struct tftp_t *) &nic.packet[ETH_HLEN];
764 if (nic.packetlen >= ETH_HLEN)
766 ptype = (((unsigned short) nic.packet[12]) << 8
767 | ((unsigned short) nic.packet[13]));
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];
845 if (nic.packetlen < protohdrlen || ptype != IP)
848 ip = (struct iphdr *) &nic.packet[ETH_HLEN];
870 udp = (struct udphdr *) &nic.packet[(ETH_HLEN
880 &nic.packet[(ETH_HLEN + sizeof (struct iphdr)
884 && (nic.packetlen
887 && (nic.packetlen