freebsd-nq/sys/dev/virtio
Gleb Smirnoff ed6cbf4805 Add pfil(9) hook to vtnet(4).
The patch could be simplier, using only the second chunk to
vtnet_rxq_eof(), that passes full mbufs to pfil(9). Packet
filter would m_free() them in case of returning PFIL_DROPPED.

However, we pretend to be a hardware driver, so we first try
to pass a memory buffer via PFIL_MEMPTR feature. This is mostly
done for debugging purposes, so that one can experiment in bhyve
with packet filters utilizing same features as a true driver.
2020-01-10 21:22:03 +00:00
..
balloon Introduce vm_page_astate. 2019-12-10 18:14:50 +00:00
block virtio(4): Add PNP match metadata for virtio devices 2019-06-04 02:37:11 +00:00
console virtio(4): Add PNP match metadata for virtio devices 2019-06-04 02:37:11 +00:00
mmio virtio: Fix running on machines with memory above 0xffffffff 2019-07-26 19:16:02 +00:00
network Add pfil(9) hook to vtnet(4). 2020-01-10 21:22:03 +00:00
pci virtio: Fix running on machines with memory above 0xffffffff 2019-07-26 19:16:02 +00:00
random virtio_random(4): Drop no longer needed unload kludge 2019-12-30 01:40:59 +00:00
scsi VirtIO SCSI: validate seg_max on attach 2019-06-22 01:20:45 +00:00
virtio_bus_if.m
virtio_config.h
virtio_ids.h
virtio_if.m
virtio_ring.h
virtio.c virtio(4): Expose PNP metadata through newbus 2019-06-04 02:34:59 +00:00
virtio.h virtio(4): Add PNP match metadata for virtio devices 2019-06-04 02:37:11 +00:00
virtqueue.c
virtqueue.h