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

Method as_raw_fd

net_util/src/tap.rs:556–558  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

554
555impl AsRawFd for Tap {
556 fn as_raw_fd(&self) -> RawFd {
557 self.tap_file.as_raw_fd()
558 }
559}
560
561#[cfg(test)]

Callers 4

process_desc_chainMethod · 0.45
process_txMethod · 0.45
process_rxMethod · 0.45
test_tap_from_fdFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_tap_from_fdFunction · 0.36