- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IpsetAdd (0.11 sec)
-
cni/pkg/ipset/nldeps_linux.go
func (m *realDeps) destroySet(name string) error { err := netlink.IpsetDestroy(name) return err } func (m *realDeps) addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error { err := netlink.IpsetAdd(name, &netlink.IPSetEntry{ Comment: comment, IP: net.IP(ip.AsSlice()), Protocol: &ipProto, Replace: replace, }) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0)