Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/netmap/
H A Dif_ptnet.c282 #define PTNET_HDR_SIZE sizeof(struct virtio_net_hdr_mrg_rxbuf) macro
1168 unsigned int wanted_hdr_len = ptnet_vnet_hdr ? PTNET_HDR_SIZE : 0; in ptnet_update_vnet_hdr()
1485 memset(nmbuf, 0, PTNET_HDR_SIZE); in ptnet_drain_transmit_queue()
1506 nmbuf += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()
1507 nmbuf_bytes += PTNET_HDR_SIZE; in ptnet_drain_transmit_queue()
1757 if (unlikely(nmbuf_len < PTNET_HDR_SIZE)) { in ptnet_rx_eof()
1772 nmbuf += PTNET_HDR_SIZE; in ptnet_rx_eof()
1773 nmbuf_len -= PTNET_HDR_SIZE; in ptnet_rx_eof()