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

Method get_bytes

net_util/src/mac.rs:76–78  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

74
75 #[inline]
76 pub fn get_bytes(&self) -> &[u8] {
77 &self.bytes
78 }
79
80 pub fn local_random() -> MacAddr {
81 // Generate a fully random MAC

Callers 4

build_net_config_spaceFunction · 0.80
test_mac_addrFunction · 0.80
set_mac_addrMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_mac_addrFunction · 0.64