/external/grub/netboot/ |
nic.h | 27 unsigned int packetlen; member in struct:nic
|
smc9000.c | 341 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++;
|
3c595.c | 272 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);
|
3c509.c | 262 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);
|
cs89x0.c | 425 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);
|
tiara.c | 154 nic->packetlen = len;
|
epic100.c | 355 * 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);
|
ni5010.c | 230 nic->packetlen = inw(IE_RCNT); 234 insb(IE_RBUF, nic->packet, nic->packetlen);
|
otulip.c | 316 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; 323 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
|
main.c | 764 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
|
davicom.c | 612 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; 626 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen);
|
eepro100.c | 440 * 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);
|
fa311.c | 253 nic->packetlen = (desc_status & 0x0fff) - 4; /* Omit CRC size. */ 254 memcpy(nic->packet, (char*)(dev->rx_ring[entry].addr), nic->packetlen);
|
natsemi.c | 674 * 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);
|
rtl8139.c | 420 nic->packetlen = rx_size - 4; /* no one cares about the FCS */ 430 memcpy(nic->packet, rx_ring + ring_offs + 4, nic->packetlen);
|
sis900.c | 987 * 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);
|
depca.c | 596 memcpy(nic->packet, lp.rx_memcpy[entry], nic->packetlen = lp.rx_ring[entry].msg_length);
|
via-rhine.c | 1119 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);
|
3c90x.c | 601 *** 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);
|
eepro.c | 349 /* nic->packetlen should contain length of data */ 378 nic->packetlen = rcv_size;
|
lance.c | 315 memcpy(nic->packet, lp->rbuf[lp->rx_idx], nic->packetlen = lp->rx_ring[lp->rx_idx].msg_length);
|
sk_g16.c | 594 memcpy(nic->packet, (unsigned char *) (rmdp->u.buffer & 0x00ffffff), nic->packetlen = len);
|
w89c840.c | 394 /* nic->packetlen should contain length of data */ 452 nic->packetlen = pkt_len;
|
tulip.c | [all...] |
/external/iputils/ |
rdisc.c | 100 static int sendbcast(int s, char *packet, int packetlen); 101 static int sendmcast(int s, char *packet, int packetlen, struct sockaddr_in *); 102 static int sendbcastif(int s, char *packet, int packetlen, struct interface *ifp); 103 static int sendmcastif(int s, char *packet, int packetlen, struct sockaddr_in *sin, struct interface *ifp); 544 int packetlen, i; local 554 packetlen = 8; 557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); 560 i = sendbcast(s, (char *)outpack, packetlen); 562 i = sendmcast(s, (char *)outpack, packetlen, sin); 564 i = sendto( s, (char *)outpack, packetlen, 0 589 int packetlen, i, cc; local [all...] |