net.Interface.Index (field)
10 uses
net (current package)
interface.go#L43: Index int // positive integer that starts at one, zero is never used
interface.go#L159: if index == ifi.Index {
interface.go#L224: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L225: if _, ok := zc.toName[ifi.Index]; !ok {
interface.go#L226: zc.toName[ifi.Index] = ifi.Name
interface_linux.go#L59: ifi := &Interface{Index: int(ifim.Index), Flags: linkFlags(ifim.Flags)}
interface_linux.go#L148: if ifi == nil || ifi.Index == int(ifam.Index) {
sockoptip_linux.go#L15: v = int32(ifi.Index)
sockoptip_posix.go#L27: v = ifi.Index
sockoptip_posix.go#L44: mreq.Interface = uint32(ifi.Index)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)