Documentation
¶
Index ¶
Constants ¶
View Source
const ( FoU4LinkPrefix = "fou4_" FoU6LinkPrefix = "fou6_" )
Prefixes for Foo-over-UDP tunnel link names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FouTunnelController ¶
type FouTunnelController struct {
// contains filtered or unexported fields
}
func NewFoUTunnelController ¶
func NewFoUTunnelController(port int, localIPv4, localIPv6 *netip.Addr) (*FouTunnelController, error)
NewFoUTunnel creates a new fouTunnel. port is the UDP port to receive FoU packets. localIPv4 is the local IPv4 address of the IPIP tunnel. This can be nil. localIPv6 is the same as localIPv4 for IPv6.
func (*FouTunnelController) Init ¶
func (t *FouTunnelController) Init() error
func (*FouTunnelController) IsInitialized ¶
func (t *FouTunnelController) IsInitialized() bool
Click to show internal directories.
Click to hide internal directories.