- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getLinkWithDestinationOf (0.19 sec)
-
cni/pkg/repair/netns.go
} return res, nil } func findNetworkIDByIP(ip string) (int, error) { link, err := getLinkWithDestinationOf(ip) if err != nil { return 0, fmt.Errorf("find link for %v: %v", ip, err) } return link.Attrs().NetNsID, nil } func getLinkWithDestinationOf(ip string) (netlink.Link, error) { routes, err := netlink.RouteListFiltered( netlink.FAMILY_V4,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 4.8K bytes - Viewed (0)