Home
last modified time | relevance | path

Searched refs:tbl_hdl (Results 1 – 25 of 81) sorted by relevance

1234

/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drv.c45 uint32_t *tbl_hdl) in ipa_nat_add_ipv4_tbl() argument
49 if (NULL == tbl_hdl || 0 == number_of_entries) { in ipa_nat_add_ipv4_tbl()
56 tbl_hdl); in ipa_nat_add_ipv4_tbl()
61 IPADBG("Returning table handle 0x%x\n", *tbl_hdl); in ipa_nat_add_ipv4_tbl()
74 int ipa_nat_del_ipv4_tbl(uint32_t tbl_hdl) in ipa_nat_del_ipv4_tbl() argument
76 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in ipa_nat_del_ipv4_tbl()
77 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in ipa_nat_del_ipv4_tbl()
81 IPADBG("Passed Table Handle: 0x%x\n", tbl_hdl); in ipa_nat_del_ipv4_tbl()
83 return ipa_nati_del_ipv4_table(tbl_hdl); in ipa_nat_del_ipv4_tbl()
96 int ipa_nat_add_ipv4_rule(uint32_t tbl_hdl, in ipa_nat_add_ipv4_rule() argument
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drv.c45 uint32_t *tbl_hdl) in ipa_nat_add_ipv4_tbl() argument
49 if (NULL == tbl_hdl || 0 == number_of_entries) { in ipa_nat_add_ipv4_tbl()
56 tbl_hdl); in ipa_nat_add_ipv4_tbl()
61 IPADBG("Returning table handle 0x%x\n", *tbl_hdl); in ipa_nat_add_ipv4_tbl()
74 int ipa_nat_del_ipv4_tbl(uint32_t tbl_hdl) in ipa_nat_del_ipv4_tbl() argument
76 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in ipa_nat_del_ipv4_tbl()
77 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in ipa_nat_del_ipv4_tbl()
81 IPADBG("Passed Table Handle: 0x%x\n", tbl_hdl); in ipa_nat_del_ipv4_tbl()
83 return ipa_nati_del_ipv4_table(tbl_hdl); in ipa_nat_del_ipv4_tbl()
96 int ipa_nat_add_ipv4_rule(uint32_t tbl_hdl, in ipa_nat_add_ipv4_rule() argument
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drv.c45 uint32_t *tbl_hdl) in ipa_nat_add_ipv4_tbl() argument
49 if (NULL == tbl_hdl || 0 == number_of_entries) { in ipa_nat_add_ipv4_tbl()
56 tbl_hdl); in ipa_nat_add_ipv4_tbl()
61 IPADBG("Returning table handle 0x%x\n", *tbl_hdl); in ipa_nat_add_ipv4_tbl()
74 int ipa_nat_del_ipv4_tbl(uint32_t tbl_hdl) in ipa_nat_del_ipv4_tbl() argument
76 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in ipa_nat_del_ipv4_tbl()
77 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in ipa_nat_del_ipv4_tbl()
81 IPADBG("Passed Table Handle: 0x%x\n", tbl_hdl); in ipa_nat_del_ipv4_tbl()
83 return ipa_nati_del_ipv4_table(tbl_hdl); in ipa_nat_del_ipv4_tbl()
96 int ipa_nat_add_ipv4_rule(uint32_t tbl_hdl, in ipa_nat_add_ipv4_rule() argument
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/
Dipa_nat_test022.c50 int ipa_nat_test022(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test022() argument
79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test022()
80 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test022()
84 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test022()
87 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test022()
90 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test022()
[all …]
Dmain.c44 int chk_for_loop(u32 tbl_hdl) in chk_for_loop() argument
51 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in chk_for_loop()
52 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in chk_for_loop()
59 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_rules_addr; in chk_for_loop()
61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
77 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_expn_rules_addr; in chk_for_loop()
79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop()
84 cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
90 (cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries)); in chk_for_loop()
99 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_addr; in chk_for_loop()
[all …]
Dipa_nat_test020.c47 int ipa_nat_test020(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test020() argument
65 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
78 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl4); in ipa_nat_test020()
81 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test020()
84 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test020()
87 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl4); in ipa_nat_test020()
90 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test020()
[all …]
Dipa_nat_test019.c48 int ipa_nat_test019(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test019() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test019()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test019()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test019()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test019()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test019()
Dipa_nat_test017.c48 int ipa_nat_test017(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test017() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test017()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test017()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test017()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test017()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test017()
Dipa_nat_test015.c49 int ipa_nat_test015(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test015() argument
69 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test015()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015()
79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015()
82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test015()
85 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test015()
88 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test015()
92 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test015()
Dipa_nat_test016.c48 int ipa_nat_test016(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test016() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test016()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test016()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test016()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test016()
Dipa_nat_test018.c48 int ipa_nat_test018(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test018() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test018()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test018()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test018()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test018()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test018()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
Dipa_nat_test022.c50 int ipa_nat_test022(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test022() argument
79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test022()
80 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test022()
84 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test022()
87 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test022()
90 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test022()
[all …]
Dmain.c44 int chk_for_loop(u32 tbl_hdl) in chk_for_loop() argument
51 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in chk_for_loop()
52 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in chk_for_loop()
59 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_rules_addr; in chk_for_loop()
61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
77 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_expn_rules_addr; in chk_for_loop()
79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop()
84 cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
90 (cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries)); in chk_for_loop()
99 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_addr; in chk_for_loop()
[all …]
Dipa_nat_test020.c47 int ipa_nat_test020(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test020() argument
65 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
78 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl4); in ipa_nat_test020()
81 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test020()
84 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test020()
87 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl4); in ipa_nat_test020()
90 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test020()
[all …]
Dipa_nat_test015.c49 int ipa_nat_test015(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test015() argument
69 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test015()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test015()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test015()
79 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test015()
82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test015()
85 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test015()
88 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test015()
92 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test015()
Dipa_nat_test017.c48 int ipa_nat_test017(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test017() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test017()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test017()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test017()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test017()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test017()
Dipa_nat_test016.c48 int ipa_nat_test016(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test016() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test016()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test016()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test016()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test016()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/
Dipa_nat_test022.c50 int ipa_nat_test022(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test022() argument
79 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test022()
80 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
83 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test022()
84 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
86 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test022()
87 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
89 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test022()
90 CHECK_ERR1(ret, tbl_hdl); in ipa_nat_test022()
93 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test022()
[all …]
Dmain.c44 int chk_for_loop(u32 tbl_hdl) in chk_for_loop() argument
51 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_hdl || in chk_for_loop()
52 tbl_hdl > IPA_NAT_MAX_IP4_TBLS) { in chk_for_loop()
59 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_rules_addr; in chk_for_loop()
61 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
77 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].ipv4_expn_rules_addr; in chk_for_loop()
79 cnt <= ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].expn_table_entries; in chk_for_loop()
84 cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop()
90 (cnt + ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries)); in chk_for_loop()
99 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_addr; in chk_for_loop()
[all …]
Dipa_nat_test020.c47 int ipa_nat_test020(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test020() argument
65 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test020()
69 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test020()
72 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test020()
75 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test020()
78 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl4); in ipa_nat_test020()
81 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test020()
84 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test020()
87 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl4); in ipa_nat_test020()
90 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test020()
[all …]
Dipa_nat_test016.c48 int ipa_nat_test016(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test016() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test016()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test016()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test016()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test016()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test016()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test016()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test016()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test016()
Dipa_nat_test019.c48 int ipa_nat_test019(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test019() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test019()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test019()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test019()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test019()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test019()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test019()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test019()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test019()
Dipa_nat_test014.c47 int ipa_nat_test014(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test014() argument
66 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test014()
70 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test014()
73 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test014()
76 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test014()
79 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test014()
82 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test014()
85 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test014()
90 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test014()
Dipa_nat_test018.c48 int ipa_nat_test018(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test018() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test018()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test018()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test018()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test018()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test018()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test018()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test018()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test018()
Dipa_nat_test017.c48 int ipa_nat_test017(int total_entries, u32 tbl_hdl, u8 sep) in ipa_nat_test017() argument
67 ret = ipa_nat_add_ipv4_tbl(pub_ip_add, total_entries, &tbl_hdl); in ipa_nat_test017()
71 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl1); in ipa_nat_test017()
74 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl2); in ipa_nat_test017()
77 ret = ipa_nat_add_ipv4_rule(tbl_hdl, &ipv4_rule, &rule_hdl3); in ipa_nat_test017()
80 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl2); in ipa_nat_test017()
83 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl3); in ipa_nat_test017()
86 ret = ipa_nat_del_ipv4_rule(tbl_hdl, rule_hdl1); in ipa_nat_test017()
91 ret = ipa_nat_del_ipv4_tbl(tbl_hdl); in ipa_nat_test017()

1234