Lines Matching refs:packet_hdr
203 struct dp8390_ring packet_hdr; in EtherReceive() local
240 ne2000_readmem(packet_ptr, (void *)&packet_hdr, 4); in EtherReceive()
242 len = le16toh(packet_hdr.count); in EtherReceive()
253 if (packet_hdr.next_packet >= next_packet) in EtherReceive()
254 nlen = (packet_hdr.next_packet - next_packet); in EtherReceive()
256 nlen = ((packet_hdr.next_packet - rec_page_start) + in EtherReceive()
259 if ((len & ED_PAGE_MASK) + sizeof(packet_hdr) > ED_PAGE_SIZE) in EtherReceive()
263 if (len != packet_hdr.count) { in EtherReceive()
267 packet_hdr.count, len, in EtherReceive()
269 packet_hdr.next_packet, rec_page_stop); in EtherReceive()
274 if (packet_hdr.next_packet < rec_page_start || in EtherReceive()
275 packet_hdr.next_packet >= rec_page_stop) in EtherReceive()
287 next_packet = packet_hdr.next_packet; in EtherReceive()