Struct ForwardDecision
A routing decision, and the neighbour it names when there is one.
public readonly record struct ForwardDecision : IEquatable<ForwardDecision>
- Implements
- Inherited Members
Constructors
ForwardDecision(ForwardAction, uint?)
A routing decision, and the neighbour it names when there is one.
public ForwardDecision(ForwardAction Action, uint? NextHop)
Parameters
ActionForwardActionWhat to do with the packet.
NextHopuint?The neighbour to unicast to, or
nullunless the action is Relay.
Properties
Action
What to do with the packet.
public ForwardAction Action { get; init; }
Property Value
NextHop
The neighbour to unicast to, or null unless the action is
Relay.
public uint? NextHop { get; init; }
Property Value
- uint?