package
1.3.1
Repository: https://github.com/mdlayher/corerad.git
Documentation: pkg.go.dev

# Functions

NewAddresser creates an Addresser which executes real rtnetlink requests.
NewDialer creates a Dialer using the specified logger and network interface.
NewNetAddresser creates an Addresser which uses package net functions.
NewState creates State which directly manipulates the operating system.

# Constants

Possible DialerMode values.
Possible DialerMode values.

# Variables

ErrLinkChange is a sentinel value which indicates a link state change.
ErrLinkNotReady is a sentinel which indicates an interface is not ready for use with a Dialer listener.

# Structs

A DialContext stores data used in the context of a Dialer.Dial closure.
A Dialer can create Conns which can be reinitialized on certain errors.
An IP is an IP address and its associated operating system-specific metadata.
A Route is an destination route and its associated operating system-specific metadata.
A TestState is a State which is primarily useful in tests.
A TestStateInterface sets the State configuration for a simulated network interface.

# Interfaces

An Addresser is a type that can fetch IP address and route information from the operating system.
A Conn abstracts IPv6 NDP socket operations for purposes of testing.
State is a type which can manipulate the low-level IPv6 parameters of a system.

# Type aliases

A DialerMode specifies a mode of operation for the Dialer.