Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for InsertRuleV4 (0.12 sec)

  1. tools/istio-iptables/pkg/builder/iptables_builder_test.go

    		},
    		{
    			"insert-multi-v4",
    			true,
    			false,
    			func(builder *IptablesRuleBuilder) {
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 1, "-f", "foo", "-b", "bar")
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 2, "-f", "foo", "-b", "baaz")
    				builder.InsertRuleV4(iptableslog.UndefinedCommand, "chain", "table", 3, "-f", "foo", "-b", "baz")
    			},
    			true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/builder/iptables_builder_impl.go

    			rulesv6: []*Rule{},
    		},
    		cfg: cfg,
    	}
    }
    
    func (rb *IptablesRuleBuilder) InsertRule(command log.Command, chain string, table string, position int, params ...string) *IptablesRuleBuilder {
    	rb.InsertRuleV4(command, chain, table, position, params...)
    	rb.InsertRuleV6(command, chain, table, position, params...)
    	return rb
    }
    
    // nolint lll
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 14:29:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top