Table of Contents

Struct ForwardDecision

Namespace
Pamoja.Routing
Assembly
Pamoja.Routing.dll

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

Action ForwardAction

What to do with the packet.

NextHop uint?

The neighbour to unicast to, or null unless the action is Relay.

Properties

Action

What to do with the packet.

public ForwardAction Action { get; init; }

Property Value

ForwardAction

NextHop

The neighbour to unicast to, or null unless the action is Relay.

public uint? NextHop { get; init; }

Property Value

uint?