Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_space
Function · 0.80
test_mac_addr
Function · 0.80
test_mac_addr_serialization_and_deserialization
Function · 0.80
set_mac_addr
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_mac_addr
Function · 0.64
test_mac_addr_serialization_and_deserialization
Function · 0.64