- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for LinkByName (0.1 sec)
-
cni/pkg/iptables/iptables_linux.go
if err != nil { return "", err } return strings.TrimSpace(string(data)), nil } func forEachLoopbackRoute(cfg *Config, operation string, f func(*netlink.Route) error) error { loopbackLink, err := netlink.LinkByName("lo") if err != nil { return fmt.Errorf("failed to find 'lo' link: %v", err) } // Set up netlink routes for localhost cidrs := []string{"0.0.0.0/0"} if cfg.EnableIPv6 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0)