Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
DetectInterfaceMTU(device string) (int, error)
DetectDefaultRouteInterfaceName() (string, error)
GetIPFromPodNetNS(podNSPath string, ifName string, ipFamily int) (net.IP, error)
GetLinkByMacAddress(macAddress string) (netlink.Link, error)
InterfaceByName(name string) (*net.Interface, error)
GratuitousArpOverIface(srcIP net.IP, iface net.Interface) error
PingOverIfaceByName(dstIP net.IP, ifaceName string) (net.HardwareAddr, time.Duration, error)
}
Click to show internal directories.
Click to hide internal directories.