linux

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FORWARDING_IPV4_PATH = "/proc/sys/net/ipv4/ip_forward"
	FORWARDING_IPV6_PATH = "/proc/sys/net/ipv6/conf/all/forwarding"
)

Variables

This section is empty.

Functions

func ForwardingIPv4Get

func ForwardingIPv4Get() bool

func ForwardingIPv4Set

func ForwardingIPv4Set(value bool)

func ForwardingIPv6Get

func ForwardingIPv6Get() bool

func ForwardingIPv6Set

func ForwardingIPv6Set(value bool)

func Init

func Init()

func VrfAdd

func VrfAdd(vrfName string, index int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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