mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 18:45:19 +00:00
e2e02c8f69
To synthesize the interactions between the virtio-net device and the tap interface, the fuzzer utilizes a pair of unix domain sockets: one socket (e.g. the dummy tap frontend) is used to construct the 'net_util::Tap' instance for creating a virtio-net device; the other socket (e.g. the dummy tap backend) is used in a epoll loop for handling the tx and rx requests from the virtio-net device. Signed-off-by: Bo Chen <chen.bo@intel.com>