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/shared_buffer.h
|
||||
|
||||
## class SharedBuffer — public interface
|
||||
|
||||
### `virtual bool drain_one(PortId port) override;`
|
||||
## `SharedBuffer::SharedBuffer`
|
||||
`SharedBuffer(Simulator *const sim, NetworkSwitch *const owner, Bytes total_bytes, uint16_t ports)`
|
||||
## `SharedBuffer::drain_one`
|
||||
`virtual bool drain_one(PortId port) override`
|
||||
## `SharedBuffer::enqueue_packet`
|
||||
`virtual bool enqueue_packet(const Packet &pkt, PortId egress, FlowPriority prio) override`
|
||||
Reference in New Issue
Block a user