Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushAllInterfaces ¶
func FlushAllInterfaces() error
func GetAllInterfaceNames ¶
func GetAllInterfaceNames() (list []string)
Types ¶
type Interface ¶
type Interface struct { Index int Name string MTU int Addrs []netip.Prefix Addrsv4 []netip.Prefix Addrsv6 []netip.Prefix HardwareAddr net.HardwareAddr }
func GetAllInterfaces ¶
func GetAllInterfaces() (list []*Interface)
func GetInterfaceByIndex ¶
func GetInterfaceByName ¶
Click to show internal directories.
Click to hide internal directories.