- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InterfaceByIndex (0.23 sec)
-
tools/istio-iptables/pkg/log/nflog.go
} if attrs.GID != nil { gid = *attrs.GID } inDev, outDev := "", "" if attrs.InDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.InDev)) if err == nil { inDev = ii.Name } } if attrs.OutDev != nil { ii, err := net.InterfaceByIndex(int(*attrs.OutDev)) if err == nil { outDev = ii.Name } } iptablesTrace.WithLabels( "command", prefix, "uid", uid,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:40 UTC 2024 - 2.8K bytes - Viewed (0) -
src/net/interface.go
} return ifat, err } // InterfaceByIndex returns the interface specified by index. // // On Solaris, it returns one of the logical network interfaces // sharing the logical data link; for more precision use // [InterfaceByName]. func InterfaceByIndex(index int) (*Interface, error) { if index <= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:53 UTC 2024 - 7.6K bytes - Viewed (0)