Searched refs:ipv4_nat_cache (Results 1 – 2 of 2) sorted by relevance
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 …]
38 struct ipa_nat_cache ipv4_nat_cache; variable171 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 …]