- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for delInpodMarkIPRule (0.1 sec)
-
cni/pkg/iptables/iptables_linux.go
err := forEachInpodMarkIPRule(cfg, netlink.RuleAdd) if errors.Is(err, unix.EEXIST) { log.Debugf("Ignoring exists error adding inpod mark ip rule: %v", err) return nil } return err } func DelInpodMarkIPRule(cfg *Config) error { return forEachInpodMarkIPRule(cfg, netlink.RuleDel) } func forEachInpodMarkIPRule(cfg *Config, f func(*netlink.Rule) error) error { var rules []*netlink.Rule families := []int{unix.AF_INET}
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Sep 06 09:44:28 UTC 2024 - 4K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
} func (cfg *IptablesConfigurator) addInpodMarkIPRule() error { return cfg.nlDeps.AddInpodMarkIPRule(cfg.cfg) } func (cfg *IptablesConfigurator) delInpodMarkIPRule() error { return cfg.nlDeps.DelInpodMarkIPRule(cfg.cfg) } // Setup iptables rules for HOST netnamespace. Ideally this should be an idempotent function. // NOTE that this expects to be run from within the HOST network namespace! //
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 15 15:39:28 UTC 2024 - 23.3K bytes - Viewed (0)