network

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBridgeIPNet

func GetBridgeIPNet(bridgeName string) (net.IP, net.IPMask, error)
func NewIPLink() *ipLink

Types

type Bridge

type Bridge struct {
	// contains filtered or unexported fields
}

func NewBridge

func NewBridge(name string) (*Bridge, error)

func (*Bridge) Name

func (b *Bridge) Name() string

type GRE

type GRE struct {
	// contains filtered or unexported fields
}

func NewGRE

func NewGRE(name string, localIP, remoteIP net.IP, key int) *GRE

func (*GRE) Create

func (g *GRE) Create(bridgeName string) error

func (*GRE) Name

func (g *GRE) Name() string

Jump to

Keyboard shortcuts

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