Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 2 of 2) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c1024 uint16_t new_entry, new_index_tbl_entry; in ipa_nati_add_ipv4_rule() local
1032 &new_entry, &new_index_tbl_entry)) { in ipa_nati_add_ipv4_rule()
1038 ipa_nati_copy_ipv4_rule_to_hw(tbl_ptr, &sw_rule, new_entry, (uint8_t)(tbl_hdl-1)); in ipa_nati_add_ipv4_rule()
1044 IPADBG("new entry:%d, new index entry: %d\n", new_entry, new_index_tbl_entry); in ipa_nati_add_ipv4_rule()
1045 if (ipa_nati_post_ipv4_dma_cmd((uint8_t)(tbl_hdl - 1), new_entry)) { in ipa_nati_add_ipv4_rule()
1051 *rule_hdl = ipa_nati_make_rule_hdl((uint16_t)tbl_hdl, new_entry); in ipa_nati_add_ipv4_rule()
1114 uint16_t prev = 0, nxt_indx = 0, new_entry; in ipa_nati_generate_tbl_rule() local
1158 new_entry = dst_hash(clnt_rule->target_ip, in ipa_nati_generate_tbl_rule()
1166 if (!Read16BitFieldValue(tbl[new_entry].ip_cksm_enbl, in ipa_nati_generate_tbl_rule()
1169 IPADBG("Destination Nat New Entry Index %d\n", new_entry); in ipa_nati_generate_tbl_rule()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Conntrack_NATApp.cpp718 void NatApp::AddTempEntry(const nat_table_entry *new_entry) in AddTempEntry() argument
723 iptodot("Private IP", new_entry->private_ip); in AddTempEntry()
724 iptodot("Target IP", new_entry->target_ip); in AddTempEntry()
725 IPACMDBG("Private Port: %d\t Target Port: %d\t", new_entry->private_port, new_entry->target_port); in AddTempEntry()
726 IPACMDBG("protocolcol: %d\n", new_entry->protocol); in AddTempEntry()
728 if(isAlgPort(new_entry->protocol, new_entry->private_port) || in AddTempEntry()
729 isAlgPort(new_entry->protocol, new_entry->target_port)) in AddTempEntry()
735 if(ChkForDup(new_entry)) in AddTempEntry()
742 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry()
743 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry()
[all …]