fixed some style issues, added tooling for docs

This commit is contained in:
2025-09-13 21:15:26 -04:00
parent 3872beaba3
commit 9ab64e18a4
62 changed files with 769 additions and 137 deletions

View File

@@ -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;