net.Interface.Index (field)
10 uses
net (current package)
interface.go#L32: Index int // positive integer that starts at one, zero is never used
interface.go#L146: if index == ifi.Index {
interface.go#L211: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L212: if _, ok := zc.toName[ifi.Index]; !ok {
interface.go#L213: zc.toName[ifi.Index] = ifi.Name
interface_linux.go#L59: ifi := &Interface{Index: int(ifim.Index), Flags: linkFlags(ifim.Flags)}
interface_linux.go#L153: if len(ift) != 0 || 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.4.9. (GOOS=linux GOARCH=amd64)