MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / vnet_hdr_len

Function vnet_hdr_len

net_util/src/lib.rs:104–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104fn vnet_hdr_len() -> usize {
105 std::mem::size_of::<virtio_net_hdr_v1>()
106}
107
108pub fn register_listener(
109 epoll_fd: RawFd,

Callers 4

process_desc_chainMethod · 0.85
from_tap_fdMethod · 0.85
open_tap_rx_q_0Function · 0.85
open_tapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected