Home
last modified time | relevance | path

Searched refs:packet_hdr (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/arch/x68k/stand/boot/
H A Ddp8390.c203 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()
[all …]
/netbsd-src/sys/dev/ic/
H A Ddp8390.c505 struct dp8390_ring packet_hdr; in dp8390_rint() local
541 (*sc->read_hdr)(sc, packet_ptr, &packet_hdr); in dp8390_rint()
542 len = packet_hdr.count; in dp8390_rint()
552 if (packet_hdr.next_packet >= sc->next_packet) in dp8390_rint()
553 nlen = (packet_hdr.next_packet - sc->next_packet); in dp8390_rint()
555 nlen = ((packet_hdr.next_packet - sc->rec_page_start) + in dp8390_rint()
558 if ((len & ED_PAGE_MASK) + sizeof(packet_hdr) > ED_PAGE_SIZE) in dp8390_rint()
562 if (len != packet_hdr.count) { in dp8390_rint()
567 "stop %02x\n", packet_hdr.count, len, in dp8390_rint()
569 packet_hdr.next_packet, sc->rec_page_stop); in dp8390_rint()
[all …]