router

package
v0.24.442 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLocalAddress

func AddLocalAddress(prefix *net.IPNet, ifName string) error

AddLocalAddress adds an address (or prefix) to the specified network interface.

func AddPointToPointAddress

func AddPointToPointAddress(localIP net.IP, peerPrefix *net.IPNet, ifName string) error

func RemoveLocalAddress

func RemoveLocalAddress(prefix *net.IPNet, ifName string) error

func RemovePointToPointAddress

func RemovePointToPointAddress(localIP net.IP, peerPrefix *net.IPNet, ifName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL