net.Interface.Index (field)
11 uses
net (current package)
interface.go#L31: Index int // positive integer that starts at one, zero is never used
interface.go#L145: if index == ifi.Index {
interface.go#L210: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L211: if _, ok := zc.toName[ifi.Index]; !ok {
interface.go#L212: zc.toName[ifi.Index] = ifi.Name
interface_bsd.go#L35: ift[n].Index = m.Index
interface_bsd.go#L83: index = ifi.Index
interface_darwin.go#L24: rib, err := route.FetchRIB(syscall.AF_UNSPEC, syscall.NET_RT_IFLIST2, ifi.Index)
interface_darwin.go#L36: if ifi.Index != m.Index {
sockoptip_posix.go#L27: v = ifi.Index
sockoptip_posix.go#L44: mreq.Interface = uint32(ifi.Index)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |