local

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package local provide functions for setting routes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMacIface

func GetMacIface(ipstring string) (string, error)

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.

Jump to

Keyboard shortcuts

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