# network/switch/dedicated_buffer.h ## `DedicatedBuffer::DedicatedBuffer` `DedicatedBuffer(Simulator *const sim, NetworkSwitch *const owner, Bytes total_bytes, uint16_t ports)` ## `DedicatedBuffer::drain_one` `bool drain_one(PortId port) override` ## `DedicatedBuffer::enqueue_packet` `bool enqueue_packet(const Packet &pkt, PortId egress, FlowPriority prio) override`