Searched refs:PTNET_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance
274 #define PTNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf) macro1150 unsigned int wanted_hdr_len = ptnet_vnet_hdr ? PTNET_HDR_SIZE : 0; in ptnet_update_vnet_hdr()1467 memset(nmbuf, 0, PTNET_HDR_SIZE); in ptnet_drain_transmit_queue()1488 nmbuf += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()1489 nmbuf_bytes += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()1739 if (unlikely(nmbuf_len < PTNET_HDR_SIZE)) { in ptnet_rx_eof()1754 nmbuf += PTNET_HDR_SIZE; in ptnet_rx_eof()1755 nmbuf_len -= PTNET_HDR_SIZE; in ptnet_rx_eof()