Searched refs:PTNET_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance
277 #define PTNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf) macro1158 unsigned int wanted_hdr_len = ptnet_vnet_hdr ? PTNET_HDR_SIZE : 0; in ptnet_update_vnet_hdr()1770 memset(nmbuf, 0, PTNET_HDR_SIZE); in ptnet_drain_transmit_queue()1791 nmbuf += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()1792 nmbuf_bytes += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()2042 if (unlikely(nmbuf_len < PTNET_HDR_SIZE)) { in ptnet_rx_eof()2057 nmbuf += PTNET_HDR_SIZE; in ptnet_rx_eof()2058 nmbuf_len -= PTNET_HDR_SIZE; in ptnet_rx_eof()