Home
last modified time | relevance | path

Searched refs:tbl_ptr (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/
Dipa_nat_drvi.c481 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_make_rule_hdl() local
485 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl()
487 if (tbl_entry >= tbl_ptr->table_entries) { in ipa_nati_make_rule_hdl()
489 tbl_ptr->cur_expn_tbl_cnt++; in ipa_nati_make_rule_hdl()
492 rule_hdl = tbl_entry - tbl_ptr->table_entries; in ipa_nati_make_rule_hdl()
498 tbl_ptr->cur_tbl_cnt++; in ipa_nati_make_rule_hdl()
504 for (; cnt < (tbl_ptr->table_entries + tbl_ptr->expn_table_entries); cnt++) { in ipa_nati_make_rule_hdl()
505 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_ptr->rule_id_array[cnt]) { in ipa_nati_make_rule_hdl()
506 tbl_ptr->rule_id_array[cnt] = rule_hdl; in ipa_nati_make_rule_hdl()
530 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_parse_ipv4_rule_hdl() local
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c524 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_make_rule_hdl() local
528 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl()
530 if (tbl_entry >= tbl_ptr->table_entries) { in ipa_nati_make_rule_hdl()
532 tbl_ptr->cur_expn_tbl_cnt++; in ipa_nati_make_rule_hdl()
535 rule_hdl = tbl_entry - tbl_ptr->table_entries; in ipa_nati_make_rule_hdl()
541 tbl_ptr->cur_tbl_cnt++; in ipa_nati_make_rule_hdl()
547 for (; cnt < (tbl_ptr->table_entries + tbl_ptr->expn_table_entries); cnt++) { in ipa_nati_make_rule_hdl()
548 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_ptr->rule_id_array[cnt]) { in ipa_nati_make_rule_hdl()
549 tbl_ptr->rule_id_array[cnt] = rule_hdl; in ipa_nati_make_rule_hdl()
573 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_parse_ipv4_rule_hdl() local
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/
Dipa_nat_drvi.c525 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_make_rule_hdl() local
529 tbl_ptr = &ipv4_nat_cache.ip4_tbl[tbl_hdl-1]; in ipa_nati_make_rule_hdl()
531 if (tbl_entry >= tbl_ptr->table_entries) { in ipa_nati_make_rule_hdl()
533 tbl_ptr->cur_expn_tbl_cnt++; in ipa_nati_make_rule_hdl()
536 rule_hdl = tbl_entry - tbl_ptr->table_entries; in ipa_nati_make_rule_hdl()
542 tbl_ptr->cur_tbl_cnt++; in ipa_nati_make_rule_hdl()
548 for (; cnt < (tbl_ptr->table_entries + tbl_ptr->expn_table_entries); cnt++) { in ipa_nati_make_rule_hdl()
549 if (IPA_NAT_INVALID_NAT_ENTRY == tbl_ptr->rule_id_array[cnt]) { in ipa_nati_make_rule_hdl()
550 tbl_ptr->rule_id_array[cnt] = rule_hdl; in ipa_nati_make_rule_hdl()
574 struct ipa_nat_ip4_table_cache *tbl_ptr; in ipa_nati_parse_ipv4_rule_hdl() local
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/test/
Dmain.c46 struct ipa_nat_rule *tbl_ptr; in chk_for_loop() local
58 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop()
64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop()
76 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
81 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl, in chk_for_loop()
85 if (Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
89 ipa_nati_print_rule(&tbl_ptr[cnt], in chk_for_loop()
142 struct ipa_nat_rule *tbl_ptr; in is_base_entry_valid() local
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
Dmain.c46 struct ipa_nat_rule *tbl_ptr; in chk_for_loop() local
58 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop()
64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop()
76 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
81 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl, in chk_for_loop()
85 if (Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
89 ipa_nati_print_rule(&tbl_ptr[cnt], in chk_for_loop()
142 struct ipa_nat_rule *tbl_ptr; in is_base_entry_valid() local
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/
Dmain.c46 struct ipa_nat_rule *tbl_ptr; in chk_for_loop() local
58 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
63 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl,ENABLE_FIELD)) { in chk_for_loop()
64 if(Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
68 ipa_nati_print_rule(&tbl_ptr[cnt], cnt); in chk_for_loop()
76 tbl_ptr = (struct ipa_nat_rule *) in chk_for_loop()
81 if (Read16BitFieldValue(tbl_ptr[cnt].ip_cksm_enbl, in chk_for_loop()
85 if (Read16BitFieldValue(tbl_ptr[cnt].nxt_indx_pub_port, in chk_for_loop()
89 ipa_nati_print_rule(&tbl_ptr[cnt], in chk_for_loop()
142 struct ipa_nat_rule *tbl_ptr; in is_base_entry_valid() local
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/inc/
Dipa_nat_drvi.h421 struct ipa_nat_ip4_table_cache *tbl_ptr);
425 struct ipa_nat_ip4_table_cache *tbl_ptr);
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/inc/
Dipa_nat_drvi.h447 struct ipa_nat_ip4_table_cache *tbl_ptr);
451 struct ipa_nat_ip4_table_cache *tbl_ptr);
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/inc/
Dipa_nat_drvi.h447 struct ipa_nat_ip4_table_cache *tbl_ptr);
451 struct ipa_nat_ip4_table_cache *tbl_ptr);