net.Interface.Name (field)
9 uses
net (current package)
interface.go#L45: Name string // e.g., "en0", "lo0", "eth0.100"
interface.go#L179: if name == ifi.Name {
interface.go#L224: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L226: zc.toName[ifi.Index] = ifi.Name
interface_linux.go#L89: ifi.Name = string(a.Value[:len(a.Value)-1])
interface_linux.go#L234: if ifi == nil || name == ifi.Name {
interface_linux.go#L263: if ifi == nil || f[1] == ifi.Name {
github.com/google/uuid
node_net.go#L28: if len(ifs.HardwareAddr) >= 6 && (name == "" || name == ifs.Name) {
node_net.go#L29: return ifs.Name, ifs.HardwareAddr
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |