Searched refs:pkt_size (Results 1 – 8 of 8) sorted by path
/qemu/hw/net/ |
H A D | dp8393x.c | 722 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 D | e1000e_core.c | 1430 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 D | e1000x_common.c | 247 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 D | e1000x_common.h | 95 size_t pkt_size,
|
H A D | igb_core.c | 1627 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 D | trace-events | 501 dp8393x_receive_oversize(int size) "oversize packet, pkt_size is %d"
|
/qemu/include/net/ |
H A D | eth.h | 438 const void *pkt, size_t pkt_size);
|
/qemu/net/ |
H A D | eth.c | 524 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()
|