net.Interface.Name (field)
8 uses
net (current package)
interface.go#L35: Name string // e.g., "en0", "lo0", "eth0.100"; may be the empty string
interface.go#L169: if name == ifi.Name {
interface.go#L214: if ifi.Name != "" {
interface.go#L215: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L217: zc.toName[ifi.Index] = ifi.Name
interface_linux.go#L89: ifi.Name = string(a.Value[:len(a.Value)-1])
interface_linux.go#L219: if ifi == nil || name == ifi.Name {
interface_linux.go#L248: if ifi == nil || f[1] == ifi.Name {
![]() |
The pages are generated with Golds v0.8.4. (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. |