Searched refs:ipv4_nat_cache (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/ |
D | main.c | 42 extern struct ipa_nat_cache ipv4_nat_cache; 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() 101 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 118 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_expn_addr; in chk_for_loop() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/ |
D | main.c | 42 extern struct ipa_nat_cache ipv4_nat_cache; 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() 101 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 118 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_expn_addr; in chk_for_loop() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/ |
D | main.c | 42 extern struct ipa_nat_cache ipv4_nat_cache; 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() 101 cnt < ipv4_nat_cache.ip4_tbl[tbl_hdl - 1].table_entries; in chk_for_loop() 118 ipv4_nat_cache.ip4_tbl[tbl_hdl-1].index_table_expn_addr; in chk_for_loop() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/ |
D | ipa_nat_drvi.c | 38 struct ipa_nat_cache ipv4_nat_cache; variable 171 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_ALLOC_NAT_MEM, mem); in CreateNatDevice() 175 IPADBG("ipa fd %d\n", ipv4_nat_cache.ipa_fd); in CreateNatDevice() 485 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl() 535 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_index]; in ipa_nati_parse_ipv4_rule_hdl() 602 uint16_t table_entries = ipv4_nat_cache.ip4_tbl[tbl_indx].table_entries; in ipa_nati_reset_tbl() 603 uint16_t expn_table_entries = ipv4_nat_cache.ip4_tbl[tbl_indx].expn_table_entries; in ipa_nati_reset_tbl() 607 ipv4_nat_cache.ip4_tbl[tbl_indx].ipv4_rules_addr); in ipa_nati_reset_tbl() 609 memset(ipv4_nat_cache.ip4_tbl[tbl_indx].ipv4_rules_addr, in ipa_nati_reset_tbl() 615 ipv4_nat_cache.ip4_tbl[tbl_indx].ipv4_expn_rules_addr); in ipa_nati_reset_tbl() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/ |
D | ipa_nat_drvi.c | 53 struct ipa_nat_cache ipv4_nat_cache; variable 183 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_GET_HW_VERSION, &ipv4_nat_cache.ver); in GetIPAVer() 187 IPADBG("ipa fd %d\n", ipv4_nat_cache.ipa_fd); in GetIPAVer() 190 IPADBG("IPA version is %d\n", ipv4_nat_cache.ver); in GetIPAVer() 208 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_ALLOC_NAT_MEM, mem); in CreateNatDevice() 212 IPADBG("ipa fd %d\n", ipv4_nat_cache.ipa_fd); in CreateNatDevice() 309 if (ipv4_nat_cache.ver >= IPA_HW_v4_0) in dst_hash() 528 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl() 578 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_index]; in ipa_nati_parse_ipv4_rule_hdl() 645 uint16_t table_entries = ipv4_nat_cache.ip4_tbl[tbl_indx].table_entries; in ipa_nati_reset_tbl() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/ |
D | ipa_nat_drvi.c | 54 struct ipa_nat_cache ipv4_nat_cache; variable 184 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_GET_HW_VERSION, &ipv4_nat_cache.ver); in GetIPAVer() 188 IPADBG("ipa fd %d\n", ipv4_nat_cache.ipa_fd); in GetIPAVer() 191 IPADBG("IPA version is %d\n", ipv4_nat_cache.ver); in GetIPAVer() 209 ret = ioctl(ipv4_nat_cache.ipa_fd, IPA_IOC_ALLOC_NAT_MEM, mem); in CreateNatDevice() 213 IPADBG("ipa fd %d\n", ipv4_nat_cache.ipa_fd); in CreateNatDevice() 310 if (ipv4_nat_cache.ver >= IPA_HW_v4_0) in dst_hash() 529 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl() 579 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_index]; in ipa_nati_parse_ipv4_rule_hdl() 646 uint16_t table_entries = ipv4_nat_cache.ip4_tbl[tbl_indx].table_entries; in ipa_nati_reset_tbl() [all …]
|