network

package
v0.0.0-...-ca94e4a Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EthInterfaceName string

Functions

func Get_interface_settings

func Get_interface_settings() (error, string, string, string)

func IpAddrToDecimal

func IpAddrToDecimal(ipAddr string) uint32

func Refresh_nmcli

func Refresh_nmcli() (error, string)

func SetDefaultGateway

func SetDefaultGateway(defgateway_addr string) error

func SetIPAddr

func SetIPAddr(ip_addr string, prefix_nr uint32, defgateway_addr string) error

func SetIPMode

func SetIPMode(ip_mode string) error

func SetupEthInterface

func SetupEthInterface(eth_interface_name string, connection_id string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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