Home | History | Annotate | Download | only in boot

Lines Matching defs:next_packet

44 static u_short next_packet;
118 next_packet = rec_page_start + 1;
119 NIC_PUT(ED_P1_CURR, next_packet);
218 * 'sc->next_packet' is the logical beginning of the ring-buffer - i.e.
230 if (next_packet == current)
234 packet_ptr = RX_BUFBASE + (next_packet << ED_PAGE_SHIFT);
251 * NOTE: sc->next_packet is pointing at the current packet.
253 if (packet_hdr.next_packet >= next_packet)
254 nlen = (packet_hdr.next_packet - next_packet);
256 nlen = ((packet_hdr.next_packet - rec_page_start) +
257 (rec_page_stop - next_packet));
268 rec_page_start, next_packet, current,
269 packet_hdr.next_packet, rec_page_stop);
274 if (packet_hdr.next_packet < rec_page_start ||
275 packet_hdr.next_packet >= rec_page_stop)
287 next_packet = packet_hdr.next_packet;
293 boundary = next_packet - 1;