Searched refs:nat_rule (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 152 ipa_nat_ipv4_rule nat_rule; in AddTable() local 192 memset(&nat_rule, 0 , sizeof(nat_rule)); in AddTable() 193 nat_rule.private_ip = cache[cnt].private_ip; in AddTable() 194 nat_rule.target_ip = cache[cnt].target_ip; in AddTable() 195 nat_rule.target_port = cache[cnt].target_port; in AddTable() 196 nat_rule.private_port = cache[cnt].private_port; in AddTable() 197 nat_rule.public_port = cache[cnt].public_port; in AddTable() 198 nat_rule.protocol = cache[cnt].protocol; in AddTable() 200 if(ipa_nat_add_ipv4_rule(nat_table_hdl, &nat_rule, &cache[cnt].rule_hdl) < 0) in AddTable() 210 iptodot("Private IP", nat_rule.private_ip); in AddTable() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 136 ipa_nat_ipv4_rule nat_rule; in AddTable() local 163 memset(&nat_rule, 0 , sizeof(nat_rule)); in AddTable() 164 nat_rule.private_ip = cache[cnt].private_ip; in AddTable() 165 nat_rule.target_ip = cache[cnt].target_ip; in AddTable() 166 nat_rule.target_port = cache[cnt].target_port; in AddTable() 167 nat_rule.private_port = cache[cnt].private_port; in AddTable() 168 nat_rule.public_port = cache[cnt].public_port; in AddTable() 169 nat_rule.protocol = cache[cnt].protocol; in AddTable() 171 if(ipa_nat_add_ipv4_rule(nat_table_hdl, &nat_rule, &cache[cnt].rule_hdl) < 0) in AddTable() 181 iptodot("Private IP", nat_rule.private_ip); in AddTable() [all …]
|