fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# network/switch/unicast_table.h
|
||||
|
||||
## class UnicastTable — public interface
|
||||
|
||||
### `UnicastTable() = default;`
|
||||
### `std::vector<PortId> get_port_list(NodeId dst_node, PortId dst_port) const;`
|
||||
### `bool add_entry(NodeId dst_node, PortId dst_port, PortId out_port);`
|
||||
### `bool delete_entry(NodeId dst_node, PortId dst_port, PortId out_port);`
|
||||
## `UnicastTable::UnicastTable`
|
||||
`UnicastTable() = default`
|
||||
## `UnicastTable::add_entry`
|
||||
`bool add_entry(NodeId dst_node, PortId dst_port, PortId out_port)`
|
||||
## `UnicastTable::delete_entry`
|
||||
`bool delete_entry(NodeId dst_node, PortId dst_port, PortId out_port)`
|
||||
## `UnicastTable::get_port_list`
|
||||
`std::vector<PortId> get_port_list(NodeId dst_node, PortId dst_port) const`
|
||||
Reference in New Issue
Block a user