router

package
v0.16.26 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 7 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

Add 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