vaddrutil

package
v0.2.19 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultRoute

type DefaultRoute struct {
	Link fw.Link
	GW   fw.Addr
}

func (*DefaultRoute) Start

func (r *DefaultRoute) Start() error

func (*DefaultRoute) Stop

func (r *DefaultRoute) Stop() error

type GratuitousARP

type GratuitousARP struct {
	IP     net.IP
	HWAddr net.HardwareAddr
	Link   fw.Link
}

func (*GratuitousARP) Start

func (a *GratuitousARP) Start() error

Sends out a gratuitous ARP to speed up failover resolution.

func (*GratuitousARP) Stop

func (a *GratuitousARP) Stop() error

Does nothing since we only gratuitous ARP when bringing up a vaddr.

type IP

type IP struct {
	Link fw.Link
	Addr fw.Addr
}

func (*IP) Start

func (ip *IP) Start() error

func (*IP) Stop

func (ip *IP) Stop() error

type Up

type Up struct {
	Link fw.Link
}

func (*Up) Start

func (a *Up) Start() error

func (*Up) Stop

func (a *Up) Stop() error

type VirtualMAC

type VirtualMAC struct {
	Link fw.Link
	Addr net.HardwareAddr
	// contains filtered or unexported fields
}

func (*VirtualMAC) Start

func (a *VirtualMAC) Start() error

Applies the consistent MAC address to the device and saves the original MAC address.

func (*VirtualMAC) Stop

func (a *VirtualMAC) Stop() error

Jump to

Keyboard shortcuts

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