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

# Functions

DefaultNDPConfigurations returns an NDPConfigurations populated with default values.
NewProtocol is equivalent to NewProtocolWithOptions with an empty Options.
NewProtocolWithOptions returns an IPv6 network protocol.

# Constants

DefaultTTL is the default hop limit for IPv6 Packets egressed by Netstack.
DHCPv6ManagedAddress indicates that addresses are available via DHCPv6.
DHCPv6NoConfiguration indicates that no configurations are available via DHCPv6.
DHCPv6OtherConfigurations indicates that other configuration information is available via DHCPv6.
HandlingRAsAlwaysEnabled indicates that Router Advertisements will always be handled, even when forwarding is enabled.
HandlingRAsDisabled indicates that Router Advertisements will not be handled.
HandlingRAsEnabledWhenForwardingDisabled indicates that router advertisements will only be handled when forwarding is disabled.
MaxDesyncFactor is the upper bound for the preferred lifetime's desync factor for temporary SLAAC addresses.
MaxDiscoveredOffLinkRoutes is the maximum number of discovered off-link routes.
MaxDiscoveredOnLinkPrefixes is the maximum number of discovered on-link prefixes.
MaxDiscoveredSLAACPrefixes is the maximum number of discovered SLAAC prefixes.
MinMaxTempAddrPreferredLifetime is the minimum value allowed for the maximum preferred lifetime for temporary SLAAC addresses.
MinMaxTempAddrValidLifetime is the minimum value allowed for the maximum valid lifetime for temporary SLAAC addresses.
MinPrefixInformationValidLifetimeForUpdate is the minimum Valid Lifetime to update the valid lifetime of a generated address by SLAAC.
MLDVersion1 indicates MLDv1.
MLDVersion2 indicates MLDv2.
ProtocolNumber is the ipv6 protocol number.
ReassembleTimeout controls how long a fragment will be held.
UnsolicitedReportIntervalMax is the maximum delay between sending unsolicited MLD reports.

# Structs

MLDOptions holds options for MLD.
NDPConfigurations is the NDP configurations for the netstack.
OpaqueInterfaceIdentifierOptions holds the options related to the generation of opaque interface identifiers (IIDs) as defined by RFC 7217.
Options holds options to configure a new protocol.
Stats holds statistics related to the IPv6 protocol family.

# Interfaces

MLDEndpoint is a network endpoint that supports MLD.
NDPDispatcher is the interface integrators of netstack must implement to receive and handle NDP related events.
NDPEndpoint is an endpoint that supports NDP.

# Type aliases

DHCPv6ConfigurationFromNDPRA is a configuration available via DHCPv6 that an NDP Router Advertisement informed the Stack about.
HandleRAsConfiguration enumerates when RAs may be handled.
MLDVersion is the forced version of MLD.
NICNameFromID is a function that returns a stable name for the specified NIC, even if different NIC IDs are used to refer to the same NIC in different program runs.