Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrIfaceNotFound = errors.New("interface not found") ErrAddrNotFound = errors.New("addr not found") )
Functions ¶
func FlushCache ¶
func FlushCache()
func Interfaces ¶
Types ¶
type Interface ¶
type Interface struct {
Index int
MTU int
Name string
HardwareAddr net.HardwareAddr
Flags net.Flags
Addresses []netip.Prefix
}
func ResolveInterface ¶
func (*Interface) PickIPv4Addr ¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package anet fix "route ip+net: netlinkrib: permission denied" on android copy and modify from https://github.com/wlynxg/anet/tree/5501d401a269290292909e6cc75f105571f97cfa
|
Package anet fix "route ip+net: netlinkrib: permission denied" on android copy and modify from https://github.com/wlynxg/anet/tree/5501d401a269290292909e6cc75f105571f97cfa |
Click to show internal directories.
Click to hide internal directories.