815 B
815 B
virtual ~SwitchBuffer() = default;Bytes buffer_size() const noexcept;SwitchBufferType type() const noexcept;uint16_t port_cnt() const noexcept;Bytes port_buffered(PortId p) const noexcept;const std::vector<Bytes> &ports_buffered() const noexcept;uint8_t share_ctrl() const noexcept;uint8_t share_mice() const noexcept;uint8_t share_elephant() const noexcept;void set_share_ctrl(uint8_t pct) noexcept;void set_share_mice(uint8_t pct) noexcept;void set_share_elephant(uint8_t pct) noexcept;const Simulator *simulator() const noexcept;const NetworkSwitch *owner() const noexcept;void set_egress_links(const std::vector<Link*> &links);