# namespace dofs



## Records

* [CongestionControl](CongestionControl.md)
* [DCQCN](DCQCN.md)
* [DedicatedBuffer](DedicatedBuffer.md)
* [DedicatedREDEngine](DedicatedREDEngine.md)
* [ECNEngine](ECNEngine.md)
* [EndSimulationMsg](EndSimulationMsg.md)
* [HeartbeatMsg](HeartbeatMsg.md)
* [Host](Host.md)
* [JobFinishedMsg](JobFinishedMsg.md)
* [LBRandomPacketSpraying](LBRandomPacketSpraying.md)
* [Link](Link.md)
* [LoadBalance](LoadBalance.md)
* [Logger](Logger.md)
* [McTree](McTree.md)
* [MgmtMsg](MgmtMsg.md)
* [MulticastTable](MulticastTable.md)
* [NSCC](NSCC.md)
* [NetworkNic](NetworkNic.md)
* [NetworkNode](NetworkNode.md)
* [NetworkSwitch](NetworkSwitch.md)
* [NicSchedulingWeights](NicSchedulingWeights.md)
* [NicTelemetry](NicTelemetry.md)
* [Node](Node.md)
* [Packet](Packet.md)
* [PubBasePolicy](PubBasePolicy.md)
* [PubRRPolicy](PubRRPolicy.md)
* [Publisher](Publisher.md)
* [Rng](Rng.md)
* [RoutingTables](RoutingTables.md)
* [SharedBuffer](SharedBuffer.md)
* [SharedREDEngine](SharedREDEngine.md)
* [Simulator](Simulator.md)
* [SubBasePolicy](SubBasePolicy.md)
* [SubDummyPolicy](SubDummyPolicy.md)
* [Subscriber](Subscriber.md)
* [SwitchBuffer](SwitchBuffer.md)
* [Time](Time.md)
* [Timer](Timer.md)
* [UnicastTable](UnicastTable.md)


## Functions

### show

*T && show(std::string_view name, T && value)*

*Defined at src/core/error.h#21*

### eval_and_show

*T && eval_and_show(std::string_view expr, T && value)*

*Defined at src/core/error.h#28*

### hash_ecmp

*PortId hash_ecmp(NodeId src_node, PortId src_port, NodeId dst_node, PortId dst_port, uint32_t differentiator, uint16_t port_count)*

### error_mutex

*std::mutex & error_mutex()*

### hash_ecmp

*PortId hash_ecmp(NodeId src_node, NodeId dst_node, uint32_t differentiator, uint16_t port_count)*

*Defined at src/network/switch/routing_alg.h#15*

### ipv4

*IPv4Addr ipv4(NodeId n, PortId p)*

*Defined at src/core/types.h#31*

### log_error

*void log_error(std::string_view type, std::string_view message, std::optional<uint64_t> timestamp)*

### operator==

*bool operator==(Time a, Time b)*

*Defined at src/core/time.h#48*

### operator!=

*bool operator!=(Time a, Time b)*

*Defined at src/core/time.h#52*

### operator<

*bool operator<(Time a, Time b)*

*Defined at src/core/time.h#56*

### operator>

*bool operator>(Time a, Time b)*

*Defined at src/core/time.h#60*

### operator<=

*bool operator<=(Time a, Time b)*

*Defined at src/core/time.h#64*

### operator>=

*bool operator>=(Time a, Time b)*

*Defined at src/core/time.h#68*

### operator+

*Time operator+(Time a, Time b)*

*Defined at src/core/time.h#86*

### operator*

*Time operator*(Time a, Time b)*

*Defined at src/core/time.h#90*

### operator-

*std::optional<Time> operator-(Time a, Time b)*

*Defined at src/core/time.h#94*

### safe_sub

*std::optional<Time> safe_sub(Time a, Time b)*

*Defined at src/core/time.h#98*

### operator""_ns

*Time operator""_ns(unsigned long long v)*

*Defined at src/core/time.h#114*

### operator""_us

*Time operator""_us(unsigned long long v)*

*Defined at src/core/time.h#117*

### operator""_ms

*Time operator""_ms(unsigned long long v)*

*Defined at src/core/time.h#120*

### operator""_s

*Time operator""_s(unsigned long long v)*

*Defined at src/core/time.h#123*



## Enums

| enum class NodeStatus |

--

| OK |
| THROTTLING |
| DOWN |
| BOOTING |


*Defined at src/core/types.h#15*

| enum class NodeType |

--

| HOST |
| SWITCH |
| NIC |


*Defined at src/core/types.h#22*

| enum class LinkStatus |

--

| OK |
| DOWN |
| THROTTLING |


*Defined at src/core/types.h#36*

| enum class PacketProtocol |

--

| DATA |
| ACK |
| NACK |
| HEADER_TRIM |
| HEADER_TRIM_BACK |


*Defined at src/core/types.h#42*

| enum class SwitchBufferType |

--

| SHARED |
| DEDICATED |


*Defined at src/core/types.h#50*

| enum class FlowPriority |

--

| CTRL |
| MICE |
| ELEPHANT |
| AUTO |


*Defined at src/core/types.h#52*

| enum class CCType |

--

| DCQCN |
| NSCC |


*Defined at src/core/types.h#59*

| enum class LBType |

--

| RANDOM_PACKET_SPRAYING |


*Defined at src/core/types.h#64*

| enum class MgmtKind |

--

| HEARTBEAT |
| JOB_FINISHED |
| END_SIMULATION |


*Defined at src/core/types.h#68*



