Versions in this module Expand all Collapse all v0 v0.3.2 Feb 26, 2021 Changes in this version + type Interface interface + DeleteIPAddress func(args []string) error + DeletePortProxyRule func(args []string) error + EnableForwarding func(iface string) error + EnsurePortProxyRule func(args []string) (bool, error) + GetDefaultGatewayIfaceName func() (string, error) + GetInterfaceByIP func(ipAddr string) (Ipv4Interface, error) + GetInterfaceByName func(name string) (Ipv4Interface, error) + GetInterfaces func() ([]Ipv4Interface, error) + Restore func(args []string) error + func New(exec utilexec.Interface) Interface + type Ipv4Interface struct + DefaultGatewayAddress string + DhcpEnabled bool + GatewayMetric int + Idx int + InterfaceMetric int + IpAddress string + Name string + SubnetPrefix int