Struct Route
A learned way to reach one node.
public readonly record struct Route : IEquatable<Route>
- Implements
- Inherited Members
Constructors
Route(uint, uint, ushort)
A learned way to reach one node.
public Route(uint Dst, uint NextHop, ushort Cost)
Parameters
DstuintThe node this route reaches.
NextHopuintThe neighbour to send a packet to on the way there.
CostushortWhat the route costs, usually in hops.
Properties
Cost
What the route costs, usually in hops.
public ushort Cost { get; init; }
Property Value
Dst
The node this route reaches.
public uint Dst { get; init; }
Property Value
NextHop
The neighbour to send a packet to on the way there.
public uint NextHop { get; init; }