- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Nash (0.18 sec)
-
cni/pkg/ipset/nldeps_linux.go
func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error { var family uint8 if v6 { family = unix.AF_INET6 } else { family = unix.AF_INET } err := netlink.IpsetCreate(name, "hash:ip", netlink.IpsetCreateOptions{Comments: true, Replace: true, Family: family}) if ipsetErr, ok := err.(nl.IPSetError); ok && ipsetErr == nl.IPSET_ERR_EXIST { return nil } return err }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/ipset/ipset.go
clearEntriesWithIP(name string, ip netip.Addr) error listEntriesByIP(name string) ([]netip.Addr, error) } // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule), // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0)