Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const DefaultTTL + const MaxDesyncFactor + const MaxDiscoveredOffLinkRoutes + const MaxDiscoveredOnLinkPrefixes + const MaxDiscoveredSLAACPrefixes + const MinMaxTempAddrPreferredLifetime + const MinMaxTempAddrValidLifetime + const MinPrefixInformationValidLifetimeForUpdate + const ProtocolNumber + const ReassembleTimeout + const UnsolicitedReportIntervalMax + func NewProtocol(s *stack.Stack) stack.NetworkProtocol + func NewProtocolWithOptions(opts Options) stack.NetworkProtocolFactory + type DHCPv6ConfigurationFromNDPRA int + const DHCPv6ManagedAddress + const DHCPv6NoConfiguration + const DHCPv6OtherConfigurations + func (i DHCPv6ConfigurationFromNDPRA) String() string + type HandleRAsConfiguration int + const HandlingRAsAlwaysEnabled + const HandlingRAsDisabled + const HandlingRAsEnabledWhenForwardingDisabled + func (c HandleRAsConfiguration) String() string + type MLDEndpoint interface + GetMLDVersion func() MLDVersion + SetMLDVersion func(MLDVersion) MLDVersion + type MLDOptions struct + Enabled bool + type MLDVersion int + const MLDVersion1 + const MLDVersion2 + type NDPConfigurations struct + AutoGenAddressConflictRetries uint8 + AutoGenGlobalAddresses bool + AutoGenTempGlobalAddresses bool + DiscoverDefaultRouters bool + DiscoverMoreSpecificRoutes bool + DiscoverOnLinkPrefixes bool + HandleRAs HandleRAsConfiguration + MaxRtrSolicitationDelay time.Duration + MaxRtrSolicitations uint8 + MaxTempAddrPreferredLifetime time.Duration + MaxTempAddrValidLifetime time.Duration + RegenAdvanceDuration time.Duration + RtrSolicitationInterval time.Duration + func DefaultNDPConfigurations() NDPConfigurations + type NDPDispatcher interface + OnAutoGenAddress func(tcpip.NICID, tcpip.AddressWithPrefix) stack.AddressDispatcher + OnAutoGenAddressDeprecated func(tcpip.NICID, tcpip.AddressWithPrefix) + OnAutoGenAddressInvalidated func(tcpip.NICID, tcpip.AddressWithPrefix) + OnDHCPv6Configuration func(tcpip.NICID, DHCPv6ConfigurationFromNDPRA) + OnDNSSearchListOption func(tcpip.NICID, []string, time.Duration) + OnDuplicateAddressDetectionResult func(tcpip.NICID, tcpip.Address, stack.DADResult) + OnOffLinkRouteInvalidated func(tcpip.NICID, tcpip.Subnet, tcpip.Address) + OnOffLinkRouteUpdated func(tcpip.NICID, tcpip.Subnet, tcpip.Address, header.NDPRoutePreference) + OnOnLinkPrefixDiscovered func(tcpip.NICID, tcpip.Subnet) + OnOnLinkPrefixInvalidated func(tcpip.NICID, tcpip.Subnet) + OnRecursiveDNSServerOption func(tcpip.NICID, []tcpip.Address, time.Duration) + type NDPEndpoint interface + SetNDPConfigurations func(NDPConfigurations) + type NICNameFromID func(tcpip.NICID, string) string + type OpaqueInterfaceIdentifierOptions struct + NICNameFromID NICNameFromID + SecretKey []byte + type Options struct + AllowExternalLoopbackTraffic bool + AutoGenLinkLocal bool + DADConfigs stack.DADConfigurations + MLD MLDOptions + NDPConfigs NDPConfigurations + NDPDisp NDPDispatcher + OpaqueIIDOpts OpaqueInterfaceIdentifierOptions + TempIIDSeed []byte + type Stats struct + ICMP tcpip.ICMPv6Stats + IP tcpip.IPStats + UnhandledRouterAdvertisements *tcpip.StatCounter + func (*Stats) IsNetworkEndpointStats() + func (s *Stats) IPStats() *tcpip.IPStats