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#L148: if index == ifi.Index {
interface.go#L213: zc.toIndex[ifi.Name] = ifi.Index
interface.go#L214: if _, ok := zc.toName[ifi.Index]; !ok {
interface.go#L215: zc.toName[ifi.Index] = ifi.Name
interface_linux.go#L59: ifi := &Interface{Index: int(ifim.Index), Flags: linkFlags(ifim.Flags)}
interface_linux.go#L156: 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.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |