Searched refs:ptxb (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dr8169.c509 u8 *ptxb; local
513 ptxb = tpc->Tx_skbuff[entry * MAX_ETH_FRAME_SIZE];
514 memcpy(ptxb, d, ETH_ALEN);
515 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN);
517 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2);
518 memcpy(ptxb + ETH_HLEN, p, s);
522 ptxb[s++] = '\0';
524 tpc->TxDescArray[entry].buf_addr = virt_to_bus(ptxb);
H A Dforcedeth.c842 u8 *ptxb; local
849 ptxb = txb + (nr * RX_NIC_BUFSIZE);
850 //np->tx_skbuff[nr] = ptxb;
853 memcpy(ptxb, d, ETH_ALEN); /* dst */
854 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */
856 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */
857 memcpy(ptxb + ETH_HLEN, p, s);
861 ptxb[s++] = '\0';
863 tx_ring[nr].PacketBuffer = (u32) virt_to_le32desc(ptxb);
H A Dpcnet32.c588 u8 *ptxb; local
595 ptxb = txb + (lp->cur_tx * PKT_BUF_SZ);
598 memcpy(ptxb, d, ETH_ALEN); /* dst */
599 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */
601 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */
602 memcpy(ptxb + ETH_HLEN, p, s);
606 ptxb[s++] = '\0';
610 tx_ring[entry].base = (u32) virt_to_le32desc(ptxb);

Completed in 75 milliseconds