Struct ForwardDecision
A routing decision, and the neighbor 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 neighbor it names when there is one.
public ForwardDecision(ForwardAction Action, uint? NextHop)
Parameters
ActionForwardActionWhat to do with the packet.
NextHopuint?The neighbor 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 neighbor to unicast to, or null unless the action is
Relay.
public uint? NextHop { get; init; }
Property Value
- uint?