net.Interface.Index (field)
11 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#L225: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L226: if _, ok := zc.toName[ifi.Index]; !ok {
interface.go#L227: 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) {
sockoptip4_linux.go#L15: mreq.Ifindex = int32(ifi.Index)
sockoptip4_linux.go#L25: v = int32(ifi.Index)
sockoptip6_posix.go#L17: v = ifi.Index
sockoptip6_posix.go#L34: mreq.Interface = uint32(ifi.Index)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)