Documentation ¶
Overview ¶
Package local provide functions for setting routes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMacIface ¶
GetMacIface - gets mac interface
func SetIPForwarding ¶
func SetIPForwarding() error
SetIPForwarding - Sets IP forwarding if it's mac or linux
func SetIPForwardingFreeBSD ¶
func SetIPForwardingFreeBSD() error
SetIPForwardingFreeBSD - sets the ipforwarding for freebsd
func SetIPForwardingMac ¶
func SetIPForwardingMac() error
SetIPForwardingMac - sets ip forwarding for mac
func SetIPForwardingUnix ¶
func SetIPForwardingUnix() error
SetIPForwardingUnix - sets the ipforwarding for linux
func SetIPForwardingWindows ¶ added in v0.18.7
func SetIPForwardingWindows() error
SetIPForwardingWindows - sets ip forwarding for windows
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.