fixed some style issues, added tooling for docs
This commit is contained in:
@@ -9,12 +9,12 @@ namespace dofs {
|
||||
// Each port has a hard cap; no borrowing.
|
||||
class DedicatedBuffer : public SwitchBuffer {
|
||||
public:
|
||||
DedicatedBuffer(Simulator* const sim,
|
||||
NetworkSwitch* const owner,
|
||||
DedicatedBuffer(Simulator *const sim,
|
||||
NetworkSwitch *const owner,
|
||||
Bytes total_bytes,
|
||||
uint16_t ports);
|
||||
|
||||
bool enqueue_packet(const Packet& pkt, PortId egress,
|
||||
bool enqueue_packet(const Packet &pkt, PortId egress,
|
||||
FlowPriority prio) override;
|
||||
bool drain_one(PortId port) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user