MCPcopy 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
57std::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
62void Address::Randomize() {
63 Random rng;

Callers 5

ListPortsMethod · 0.80
CreatePortMethod · 0.80
GetPortConfMethod · 0.80
TESTFunction · 0.80
InitDriverMethod · 0.80

Calls 1

FormatFunction · 0.85

Tested by 1

TESTFunction · 0.64