package
0.0.0-20240720002214-37b2b8227b91
Repository: https://github.com/progrium/go-netstack.git
Documentation: pkg.go.dev

# Functions

DefaultConfig returns the default configuration for the table.

# Constants

DefaultCleanupInterval is the default frequency of the routine that expires pending routes.
DefaultMaxPendingQueueSize corresponds to the number of elements that can be in the packet queue for a pending route.
DefaultPendingRouteExpiration is the default maximum lifetime of a pending route.
InstalledRouteFound indicates that an InstalledRoute was found.
NoRouteFoundAndPendingInserted indicates that no route was found and that a pending route was newly inserted into the RouteTable.
PacketQueuedInPendingRoute indicates that the packet was queued in an existing pending route.

# Variables

ErrAlreadyInitialized indicates that RouteTable.Init was already invoked.
ErrMissingClock indicates that a clock was not provided as part of the Config, but is required.
ErrNoBufferSpace indicates that no buffer space is available in the pending route packet queue.

# Structs

Config represents the options for configuring a RouteTable.
GetRouteResult represents the result of calling GetRouteOrInsertPending.
InstalledRoute represents a route that is in the installed state.
PendingRoute represents a route that is in the "pending" state.
RouteTable represents a multicast routing table.

# Type aliases

GetRouteResultState signals the result of calling GetRouteOrInsertPending.