Home
last modified time | relevance | path

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

/external/syslinux/gpxe/src/drivers/net/
Dw89c840.c258 char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; member
499 memcpy (w89c840_buf.tx_packet, d, ETH_ALEN); /* dst */ in w89c840_transmit()
500 memcpy (w89c840_buf.tx_packet + ETH_ALEN, nic->node_addr, ETH_ALEN);/*src*/ in w89c840_transmit()
502 *((char *) w89c840_buf.tx_packet + 12) = t >> 8; /* type */ in w89c840_transmit()
503 *((char *) w89c840_buf.tx_packet + 13) = t; in w89c840_transmit()
505 memcpy (w89c840_buf.tx_packet + ETH_HLEN, p, s); in w89c840_transmit()
509 *((char *) w89c840_buf.tx_packet + ETH_HLEN + (s++)) = 0; in w89c840_transmit()
512 = virt_to_le32desc(w89c840_buf.tx_packet); in w89c840_transmit()
Depic100.c96 unsigned char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; member
101 #define tx_packet epic100_bufs.tx_packet macro
292 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
327 txp = tx_packet + (entry * PKT_BUF_SZ); in epic100_transmit()