Home
last modified time | relevance | path

Searched refs:PTNET_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dif_ptnet.c272 #define PTNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf) macro
1148 unsigned int wanted_hdr_len = ptnet_vnet_hdr ? PTNET_HDR_SIZE : 0; in ptnet_update_vnet_hdr()
1465 memset(nmbuf, 0, PTNET_HDR_SIZE); in ptnet_drain_transmit_queue()
1486 nmbuf += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()
1487 nmbuf_bytes += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()
1737 if (unlikely(nmbuf_len < PTNET_HDR_SIZE)) { in ptnet_rx_eof()
1752 nmbuf += PTNET_HDR_SIZE; in ptnet_rx_eof()
1753 nmbuf_len -= PTNET_HDR_SIZE; in ptnet_rx_eof()