Searched refs:ipv4_cache (Results 1 – 2 of 2) sorted by relevance
1369 struct ipa_nat_ip4_table_cache *ipv4_cache, in ipa_nati_copy_ipv4_rule_to_hw() argument1378 if (entry < ipv4_cache->table_entries) { in ipa_nati_copy_ipv4_rule_to_hw()1379 tbl_ptr = (struct ipa_nat_rule *)ipv4_cache->ipv4_rules_addr; in ipa_nati_copy_ipv4_rule_to_hw()1385 tbl_ptr = (struct ipa_nat_rule *)ipv4_cache->ipv4_expn_rules_addr; in ipa_nati_copy_ipv4_rule_to_hw()1386 memcpy(&tbl_ptr[entry - ipv4_cache->table_entries], in ipa_nati_copy_ipv4_rule_to_hw()1394 if (prev_entry < ipv4_cache->table_entries) { in ipa_nati_copy_ipv4_rule_to_hw()1396 tbl_ptr = (struct ipa_nat_rule *)ipv4_cache->ipv4_rules_addr; in ipa_nati_copy_ipv4_rule_to_hw()1401 prev_entry = prev_entry - ipv4_cache->table_entries; in ipa_nati_copy_ipv4_rule_to_hw()1404 offset = ipa_nati_get_entry_offset(ipv4_cache, tbl_type, prev_entry); in ipa_nati_copy_ipv4_rule_to_hw()1414 struct ipa_nat_ip4_table_cache *ipv4_cache, in ipa_nati_copy_ipv4_index_rule_to_hw() argument[all …]
431 struct ipa_nat_ip4_table_cache *ipv4_cache,436 struct ipa_nat_ip4_table_cache *ipv4_cache,