/external/syslinux/gpxe/src/drivers/net/ |
dmfe.c | 405 u8 *ptxb; local 407 ptxb = &txb[db->cur_tx]; 411 memcpy(ptxb, dest, ETH_ALEN); 412 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); 414 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); 415 memcpy(ptxb + ETH_HLEN, packet, size); 419 ptxb[size++] = '\0'; 630 u8 *ptxb; local 635 ptxb = &txb[db->cur_tx]; 640 ptxb[i] = 0xFF [all...] |
pcnet32.c | 580 u8 *ptxb; local 587 ptxb = pcnet32_bufs.txb[lp->cur_tx]; 590 memcpy(ptxb, d, ETH_ALEN); /* dst */ 591 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ 593 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */ 594 memcpy(ptxb + ETH_HLEN, p, s); 598 ptxb[s++] = '\0'; 602 pcnet32_bufs.tx_ring[entry].base = (u32) virt_to_le32desc(ptxb);
|
forcedeth.c | 1125 u8 *ptxb; local 1131 ptxb = txb + (nr * RX_NIC_BUFSIZE); 1132 //np->tx_skbuff[nr] = ptxb; 1135 memcpy(ptxb, d, ETH_ALEN); /* dst */ 1136 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* src */ 1138 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* type */ 1139 memcpy(ptxb + ETH_HLEN, p, s); 1143 ptxb[s++] = '\0'; 1145 tx_ring[nr].PacketBuffer = (u32) virt_to_le32desc(ptxb); [all...] |
via-velocity.c | 521 u8 *ptxb; local 529 ptxb = vptr->txb + (entry * PKT_BUF_SZ); 530 memcpy(ptxb, dest, ETH_ALEN); /* Destination */ 531 memcpy(ptxb + ETH_ALEN, nic->node_addr, ETH_ALEN); /* Source */ 533 memcpy(ptxb + 2 * ETH_ALEN, (u8 *) & nstype, 2); /* Type */ 534 memcpy(ptxb + ETH_HLEN, packet, size); 542 ptxb[size++] = '\0'; 547 // memcpy(ptxb, skb->data, skb->len); 548 memset(ptxb + size, 0, ETH_ZLEN - size); 551 vptr->td_rings[entry].td_buf[0].pa_low = virt_to_bus(ptxb); [all...] |