Home
last modified time | relevance | path

Searched refs:pkt_size (Results 1 – 8 of 8) sorted by path

/qemu/hw/net/
H A Ddp8393x.c722 size_t pkt_size) in dp8393x_receive() argument
735 return pkt_size; in dp8393x_receive()
738 rx_len = pkt_size + sizeof(checksum); in dp8393x_receive()
746 trace_dp8393x_receive_oversize(pkt_size); in dp8393x_receive()
753 packet_type = dp8393x_receive_filter(s, buf, pkt_size); in dp8393x_receive()
782 checksum = cpu_to_le32(crc32(0, buf, pkt_size)); in dp8393x_receive()
788 buf, pkt_size); in dp8393x_receive()
789 address += pkt_size; in dp8393x_receive()
861 return pkt_size; in dp8393x_receive()
H A De1000e_core.c1430 e1000e_update_rx_stats(E1000ECore *core, size_t pkt_size, size_t pkt_fcs_size) in e1000e_update_rx_stats() argument
1433 e1000x_update_rx_total_stats(core->mac, pkt_type, pkt_size, pkt_fcs_size); in e1000e_update_rx_stats()
H A De1000x_common.c247 size_t pkt_size, in e1000x_update_rx_total_stats() argument
261 e1000x_grow_8reg_if_not_full(mac, TORL, pkt_size + 4); in e1000x_update_rx_total_stats()
262 e1000x_grow_8reg_if_not_full(mac, GORCL, pkt_size + 4); in e1000x_update_rx_total_stats()
H A De1000x_common.h95 size_t pkt_size,
H A Digb_core.c1627 size_t pkt_size, size_t pkt_fcs_size) in igb_update_rx_stats() argument
1630 e1000x_update_rx_total_stats(core->mac, pkt_type, pkt_size, pkt_fcs_size); in igb_update_rx_stats()
1635 core->mac[PVFGORC0 + (pool * 64)] += pkt_size + 4; in igb_update_rx_stats()
H A Dtrace-events501 dp8393x_receive_oversize(int size) "oversize packet, pkt_size is %d"
/qemu/include/net/
H A Deth.h438 const void *pkt, size_t pkt_size);
/qemu/net/
H A Deth.c524 const void *pkt, size_t pkt_size) in eth_pad_short_frame() argument
528 if (pkt_size >= ETH_ZLEN) { in eth_pad_short_frame()
533 memcpy(padded_pkt, pkt, pkt_size); in eth_pad_short_frame()
534 memset(&padded_pkt[pkt_size], 0, ETH_ZLEN - pkt_size); in eth_pad_short_frame()