Searched refs:packetlen (Results 1 - 25 of 26) sorted by relevance

12

/external/grub/netboot/
H A Dnic.h27 unsigned int packetlen; member in struct:nic
H A Dsmc9000.c341 nic->packetlen = (inw(smc9000_base + DATA_1) & 0x07ff);
344 nic->packetlen -= 6;
347 (nic->packetlen >> 1), nic->packetlen & 1);
350 insw(smc9000_base + DATA_1, nic->packet, (nic->packetlen+2) >> 1);
352 if (nic->packet[nic->packetlen+1] & 0x20)
353 nic->packetlen++;
H A D3c595.c272 nic->packetlen=rx_fifo;
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
285 nic->packetlen+=rx_fifo;
292 printf("=%d",nic->packetlen);
H A D3c509.c262 nic->packetlen=rx_fifo;
271 insw(BASE + EP_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
273 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + EP_W1_RX_PIO_RD_1);
274 nic->packetlen+=rx_fifo;
281 printf("=%d",nic->packetlen);
H A Dcs89x0.c425 nic->packetlen = inw(eth_nic_base + RX_FRAME_PORT);
426 insw(eth_nic_base + RX_FRAME_PORT, nic->packet, nic->packetlen >> 1);
427 if (nic->packetlen & 1)
428 nic->packet[nic->packetlen-1] = inw(eth_nic_base + RX_FRAME_PORT);
H A Dtiara.c154 nic->packetlen = len;
H A Depic100.c355 * returns the length of the packet in nic->packetlen.
386 nic->packetlen = rx_ring[entry].rxlength - 4;
387 memcpy(nic->packet, (char*)rx_ring[entry].bufaddr, nic->packetlen);
H A Dni5010.c230 nic->packetlen = inw(IE_RCNT);
234 insb(IE_RBUF, nic->packet, nic->packetlen);
H A Dotulip.c316 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16;
323 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
H A Dmain.c764 if (nic.packetlen >= ETH_HLEN)
773 if (nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
824 && nic.packetlen >= ETH_HLEN + sizeof (struct arprequest)
845 if (nic.packetlen < protohdrlen || ptype != IP)
884 && (nic.packetlen
887 && (nic.packetlen
H A Ddavicom.c612 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16;
626 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
H A Deepro100.c440 * returns the length of the packet in nic->packetlen.
458 nic->packetlen = ACCESS(rxfd)count & 0x3fff;
459 memcpy (nic->packet, ACCESS(rxfd)packet, nic->packetlen);
H A Dfa311.c253 nic->packetlen = (desc_status & 0x0fff) - 4; /* Omit CRC size. */
254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen);
H A Dnatsemi.c674 * Returns the length of the packet in nic->packetlen.
693 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE;
702 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
H A Drtl8139.c420 nic->packetlen = rx_size - 4; /* no one cares about the FCS */
430 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen);
H A Dsis900.c987 * Returns the length of the packet in nic->packetlen.
1006 nic->packetlen = (rx_status & DSIZE) - CRC_SIZE;
1015 memcpy(nic->packet, (rxb + cur_rx*RX_BUF_SIZE), nic->packetlen);
H A Ddepca.c596 memcpy(nic->packet, lp.rx_memcpy[entry], nic->packetlen = lp.rx_ring[entry].msg_length);
H A Dvia-rhine.c1119 nic->packetlen = tp->rx_ring[tp->cur_rx].rx_status.bits.frame_length;
1120 memcpy (nic->packet, tp->rx_buffs[tp->cur_rx], nic->packetlen);
H A D3c90x.c601 *** in nic->packetlen. Return 1 if a packet was found.
651 /** Ok, got packet. Set length in nic->packetlen. **/
652 nic->packetlen = (INF_3C90X.ReceiveUPD.UpPktStatus & 0x1FFF);
H A Deepro.c349 /* nic->packetlen should contain length of data */
378 nic->packetlen = rcv_size;
H A Dlance.c315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length);
H A Dsk_g16.c594 memcpy(nic->packet, (unsigned char *) (rmdp->u.buffer & 0x00ffffff), nic->packetlen = len);
H A Dw89c840.c394 /* nic->packetlen should contain length of data */
452 nic->packetlen = pkt_len;
H A Dtulip.c1145 nic->packetlen = (rx_ring[tp->cur_rx].status & 0x3FFF0000) >> 16;
1156 memcpy(nic->packet, rxb + tp->cur_rx * BUFLEN, nic->packetlen);
H A Di82586.c407 nic->packetlen = pkt_len;

Completed in 108 milliseconds

12