fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
@@ -1,18 +1,21 @@
|
||||
# network/nic/congestion_control.h
|
||||
|
||||
## class CongestionControl — public interface
|
||||
|
||||
### `explicit CongestionControl(Bytes init_cwnd, Bytes max_cwnd) noexcept;`
|
||||
### `virtual ~CongestionControl() = default;`
|
||||
### `Bytes cwnd() const noexcept { ... }`
|
||||
### `Bytes cwnd_max() const noexcept { ... }`
|
||||
|
||||
## class DCQCN — public interface
|
||||
|
||||
### `explicit DCQCN(Bytes init_cwnd, Bytes max_cwnd) noexcept;`
|
||||
### `virtual void update(const Packet& pkt, Time rtt) noexcept override;`
|
||||
|
||||
## class NSCC — public interface
|
||||
|
||||
### `explicit NSCC(Bytes init_cwnd, Bytes max_cwnd) noexcept;`
|
||||
### `virtual void update(const Packet& pkt, Time rtt) noexcept override;`
|
||||
## `CongestionControl::CongestionControl`
|
||||
`explicit CongestionControl(Bytes init_cwnd, Bytes max_cwnd) noexcept`
|
||||
## `CongestionControl::cwnd`
|
||||
`Bytes cwnd() const noexcept`
|
||||
## `CongestionControl::cwnd_max`
|
||||
`Bytes cwnd_max() const noexcept`
|
||||
## `CongestionControl::is_allowed_to_send`
|
||||
`virtual bool is_allowed_to_send(Bytes bytes_outstanding, Bytes next_bytes) const noexcept`
|
||||
## `CongestionControl::update`
|
||||
`virtual void update(const Packet &pkt, Time rtt) noexcept = 0`
|
||||
## `CongestionControl::~CongestionControl`
|
||||
`virtual ~CongestionControl() = default`
|
||||
## `DCQCN::DCQCN`
|
||||
`explicit DCQCN(Bytes init_cwnd, Bytes max_cwnd) noexcept`
|
||||
## `DCQCN::update`
|
||||
`virtual void update(const Packet &pkt, Time rtt) noexcept override`
|
||||
## `NSCC::NSCC`
|
||||
`explicit NSCC(Bytes init_cwnd, Bytes max_cwnd) noexcept`
|
||||
## `NSCC::update`
|
||||
`virtual void update(const Packet &pkt, Time rtt) noexcept override`
|
||||
Reference in New Issue
Block a user