Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetSys/bess
/ ToString
Method
ToString
core/utils/ether.cc:57–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
}
56
57
std::string Address::ToString() const {
58
return Format(
"%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx"
, bytes[0], bytes[1],
59
bytes[2], bytes[3], bytes[4], bytes[5]);
60
}
61
62
void Address::Randomize() {
63
Random rng;
Callers
5
ListPorts
Method · 0.80
CreatePort
Method · 0.80
GetPortConf
Method · 0.80
TEST
Function · 0.80
InitDriver
Method · 0.80
Calls
1
Format
Function · 0.85
Tested by
1
TEST
Function · 0.64