Files
dofs/docs/network/network_switch.md

347 B

network/network_switch.h

class NetworkSwitch — public interface

virtual void recv_pkt(Packet &pkt, PortId ingress) override;

void set_status(NodeStatus s, Time new_forward_latency = Time(0)) noexcept;

NodeStatus get_status() const noexcept { ... }

return status();

uint16_t port_cnt() const noexcept { ... }