Documentation ¶
Overview ¶
Package networkutils is a collection of helpers for eni/watcher
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMACAddress ¶
func GetMACAddress(ctx context.Context, timeout time.Duration, dev string, netlinkClient netlinkwrapper.NetLink) (string, error)
GetMACAddress retrieves the MAC address of a device using netlink
func IsValidNetworkDevice ¶
IsValidNetworkDevice is used to differentiate virtual and physical devices Returns true only for pci or vif interfaces
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.