Searched refs:tx_buffer (Results 1 – 10 of 10) sorted by relevance
/qemu/hw/net/fsl_etsec/ |
H A D | rings.c | 165 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in tx_padding_and_crc() 168 memset(etsec->tx_buffer + etsec->tx_buffer_len, 0x0, add); in tx_padding_and_crc() 177 uint8_t flags = (uint8_t)(*etsec->tx_buffer); in process_tx_fcb() 179 uint8_t l3_header_offset = (uint8_t)*(etsec->tx_buffer + 3); in process_tx_fcb() 181 uint8_t l4_header_offset = (uint8_t)*(etsec->tx_buffer + 2); in process_tx_fcb() 183 uint8_t *l3_header = etsec->tx_buffer + 8 + l3_header_offset; in process_tx_fcb() 215 net_checksum_calculate(etsec->tx_buffer + 8, in process_tx_fcb() 239 etsec->tx_buffer = g_realloc(etsec->tx_buffer, in process_tx_bd() 241 tmp_buff = etsec->tx_buffer + etsec->tx_buffer_len; in process_tx_bd() 277 etsec->tx_buffer + 8, in process_tx_bd() [all …]
|
H A D | etsec.h | 103 uint8_t *tx_buffer; member
|
H A D | etsec.c | 337 etsec->tx_buffer = NULL; in etsec_reset()
|
/qemu/hw/net/ |
H A D | mipsnet.c | 40 uint8_t tx_buffer[MAX_ETH_FRAME_SIZE]; member 56 memset(s->tx_buffer, 0, MAX_ETH_FRAME_SIZE); in mipsnet_reset() 193 s->tx_buffer[s->tx_written++] = val; in mipsnet_ioport_write() 199 s->tx_buffer, s->tx_written); in mipsnet_ioport_write() 229 VMSTATE_BUFFER(tx_buffer, MIPSnetState),
|
H A D | i82596.c | 149 assert(len <= sizeof(s->tx_buffer)); in i82596_transmit() 151 MEMTXATTRS_UNSPECIFIED, s->tx_buffer, len); in i82596_transmit() 152 DBG(PRINT_PKTHDR("Send", &s->tx_buffer)); in i82596_transmit() 154 qemu_send_packet(qemu_get_queue(s->nic), s->tx_buffer, len); in i82596_transmit()
|
H A D | i82596.h | 41 uint8_t tx_buffer[0x4000]; member
|
H A D | dp8393x.c | 422 if (tx_len + len > sizeof(s->tx_buffer)) { in dp8393x_do_transmit_packets() 423 len = sizeof(s->tx_buffer) - tx_len; in dp8393x_do_transmit_packets() 426 &s->tx_buffer[tx_len], len); in dp8393x_do_transmit_packets() 461 qemu_receive_packet(nc, s->tx_buffer, tx_len); in dp8393x_do_transmit_packets() 465 qemu_send_packet(nc, s->tx_buffer, tx_len); in dp8393x_do_transmit_packets()
|
/qemu/include/hw/net/ |
H A D | dp8393x.h | 52 uint8_t tx_buffer[0x10000]; member
|
/qemu/hw/net/can/ |
H A D | ctucan_core.c | 270 pf = s->tx_buffer[buff2tx_idx].data; in ctucan_send_ready_buffers() 307 ((addr + size) <= sizeof(s->tx_buffer[buff_num].data))) { in ctucan_mem_write() 308 stn_le_p(s->tx_buffer[buff_num].data + addr, size, val); in ctucan_mem_write() 674 VMSTATE_STRUCT_ARRAY(tx_buffer, CtuCanCoreState,
|
H A D | ctucan_core.h | 95 CtuCanCoreMsgBuffer tx_buffer[CTUCAN_CORE_TXBUF_NUM]; member
|