fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# network/switch/dedicated_buffer.h
|
||||
|
||||
## class DedicatedBuffer — public interface
|
||||
|
||||
### `bool drain_one(PortId port) override;`
|
||||
## `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`
|
||||
Reference in New Issue
Block a user