MCPcopy Create free account
hub / github.com/NetSys/bess / GetLinkStatus

Method GetLinkStatus

core/port.h:258–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256 }
257
258 virtual LinkStatus GetLinkStatus() {
259 return LinkStatus{
260 .speed = 0,
261 .full_duplex = true,
262 .autoneg = true,
263 .link_up = true,
264 };
265 }
266
267 virtual int UpdateConf(const Conf &) { return -ENOTSUP; }
268

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected