Searched refs:flt_rule (Results 1 – 10 of 10) sorted by relevance
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Filtering.cpp | 205 struct ipa_ioc_del_flt_rule *flt_rule; in DeleteFilteringHdls() local 211 flt_rule = (struct ipa_ioc_del_flt_rule *)malloc(len); in DeleteFilteringHdls() 212 if (flt_rule == NULL) in DeleteFilteringHdls() 220 memset(flt_rule, 0, len); in DeleteFilteringHdls() 221 flt_rule->commit = 1; in DeleteFilteringHdls() 222 flt_rule->num_hdls = UNIT_RULES; in DeleteFilteringHdls() 223 flt_rule->ip = ip; in DeleteFilteringHdls() 232 flt_rule->hdl[0].status = -1; in DeleteFilteringHdls() 233 flt_rule->hdl[0].hdl = flt_rule_hdls[cnt]; in DeleteFilteringHdls() 236 if (DeleteFilteringRule(flt_rule) == false) in DeleteFilteringHdls() [all …]
|
D | IPACM_Lan.cpp | 3601 struct ipa_flt_rule_mdfy flt_rule; in reset_to_dummy_flt_rule() local 3619 memset(&flt_rule, 0, sizeof(struct ipa_flt_rule_mdfy)); in reset_to_dummy_flt_rule() 3620 flt_rule.status = -1; in reset_to_dummy_flt_rule() 3621 flt_rule.rule_hdl = rule_hdl; in reset_to_dummy_flt_rule() 3623 flt_rule.rule.retain_hdr = 0; in reset_to_dummy_flt_rule() 3624 flt_rule.rule.action = IPA_PASS_TO_EXCEPTION; in reset_to_dummy_flt_rule() 3630 flt_rule.rule.attrib.attrib_mask = IPA_FLT_SRC_ADDR | IPA_FLT_DST_ADDR; in reset_to_dummy_flt_rule() 3631 flt_rule.rule.attrib.u.v4.dst_addr = ~0; in reset_to_dummy_flt_rule() 3632 flt_rule.rule.attrib.u.v4.dst_addr_mask = ~0; in reset_to_dummy_flt_rule() 3633 flt_rule.rule.attrib.u.v4.src_addr = ~0; in reset_to_dummy_flt_rule() [all …]
|
D | IPACM_LanToLan.cpp | 1067 for(it_flt = peer->flt_rule.begin(); it_flt != peer->flt_rule.end(); it_flt++) in add_client_flt_rule() 1076 if(it_flt != peer->flt_rule.end()) in add_client_flt_rule() 1115 if(it_flt != peer->flt_rule.end()) in add_client_flt_rule() 1130 peer->flt_rule.push_front(new_flt_info); in add_client_flt_rule() 1156 for(it_flt = peer->flt_rule.begin(); it_flt != peer->flt_rule.end(); it_flt++) in del_client_flt_rule() 1213 peer->flt_rule.erase(it_flt); in del_client_flt_rule() 1361 for(it = peer->flt_rule.begin(); it != peer->flt_rule.end(); it++) in clear_all_flt_rule_for_one_peer_iface() 1416 peer->flt_rule.clear(); in clear_all_flt_rule_for_one_peer_iface() 1898 IPACMDBG_H("There are %d flt info in total.\n", peer_info->flt_rule.size()); in print_peer_info() 1899 for(it_flt = peer_info->flt_rule.begin(); it_flt != peer_info->flt_rule.end(); it_flt++) in print_peer_info() [all …]
|
D | IPACM_Wan.cpp | 202 struct ipa_ioc_add_flt_rule *flt_rule; in handle_addr_evt() local 347 flt_rule = (struct ipa_ioc_add_flt_rule *)calloc(1, len); in handle_addr_evt() 348 if (!flt_rule) in handle_addr_evt() 354 flt_rule->commit = 1; in handle_addr_evt() 355 flt_rule->ep = rx_prop->rx[0].src_pipe; in handle_addr_evt() 356 flt_rule->global = false; in handle_addr_evt() 357 flt_rule->ip = IPA_IP_v6; in handle_addr_evt() 358 flt_rule->num_rules = 1; in handle_addr_evt() 380 memcpy(&(flt_rule->rules[0]), &flt_rule_entry, sizeof(struct ipa_flt_rule_add)); in handle_addr_evt() 382 if (m_filtering.AddFilteringRule(flt_rule) == false) in handle_addr_evt() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Filtering.cpp | 202 struct ipa_ioc_del_flt_rule *flt_rule; in DeleteFilteringHdls() local 208 flt_rule = (struct ipa_ioc_del_flt_rule *)malloc(len); in DeleteFilteringHdls() 209 if (flt_rule == NULL) in DeleteFilteringHdls() 217 memset(flt_rule, 0, len); in DeleteFilteringHdls() 218 flt_rule->commit = 1; in DeleteFilteringHdls() 219 flt_rule->num_hdls = UNIT_RULES; in DeleteFilteringHdls() 220 flt_rule->ip = ip; in DeleteFilteringHdls() 229 flt_rule->hdl[0].status = -1; in DeleteFilteringHdls() 230 flt_rule->hdl[0].hdl = flt_rule_hdls[cnt]; in DeleteFilteringHdls() 233 if (DeleteFilteringRule(flt_rule) == false) in DeleteFilteringHdls() [all …]
|
D | IPACM_Lan.cpp | 3330 struct ipa_flt_rule_mdfy flt_rule; in reset_to_dummy_flt_rule() local 3348 memset(&flt_rule, 0, sizeof(struct ipa_flt_rule_mdfy)); in reset_to_dummy_flt_rule() 3349 flt_rule.status = -1; in reset_to_dummy_flt_rule() 3350 flt_rule.rule_hdl = rule_hdl; in reset_to_dummy_flt_rule() 3352 flt_rule.rule.retain_hdr = 0; in reset_to_dummy_flt_rule() 3353 flt_rule.rule.action = IPA_PASS_TO_EXCEPTION; in reset_to_dummy_flt_rule() 3359 flt_rule.rule.attrib.attrib_mask = IPA_FLT_SRC_ADDR | IPA_FLT_DST_ADDR; in reset_to_dummy_flt_rule() 3360 flt_rule.rule.attrib.u.v4.dst_addr = ~0; in reset_to_dummy_flt_rule() 3361 flt_rule.rule.attrib.u.v4.dst_addr_mask = ~0; in reset_to_dummy_flt_rule() 3362 flt_rule.rule.attrib.u.v4.src_addr = ~0; in reset_to_dummy_flt_rule() [all …]
|
D | IPACM_LanToLan.cpp | 601 for(it_flt = peer->flt_rule.begin(); it_flt != peer->flt_rule.end(); it_flt++) in add_client_flt_rule() 611 if(it_flt == peer->flt_rule.end()) //the client is not in the flt info list in add_client_flt_rule() 618 peer->flt_rule.push_front(new_flt_info); in add_client_flt_rule() 644 for(it_flt = peer->flt_rule.begin(); it_flt != peer->flt_rule.end(); it_flt++) in del_client_flt_rule() 660 peer->flt_rule.erase(it_flt); in del_client_flt_rule() 785 for(it = peer->flt_rule.begin(); it != peer->flt_rule.end(); it++) in clear_all_flt_rule_for_one_peer_iface() 798 peer->flt_rule.clear(); in clear_all_flt_rule_for_one_peer_iface() 1196 IPACMDBG_H("There are %d flt info in total.\n", peer_info->flt_rule.size()); in print_peer_info() 1197 for(it_flt = peer_info->flt_rule.begin(); it_flt != peer_info->flt_rule.end(); it_flt++) in print_peer_info()
|
D | IPACM_Wan.cpp | 202 struct ipa_ioc_add_flt_rule *flt_rule; in handle_addr_evt() local 347 flt_rule = (struct ipa_ioc_add_flt_rule *)calloc(1, len); in handle_addr_evt() 348 if (!flt_rule) in handle_addr_evt() 354 flt_rule->commit = 1; in handle_addr_evt() 355 flt_rule->ep = rx_prop->rx[0].src_pipe; in handle_addr_evt() 356 flt_rule->global = false; in handle_addr_evt() 357 flt_rule->ip = IPA_IP_v6; in handle_addr_evt() 358 flt_rule->num_rules = 1; in handle_addr_evt() 380 memcpy(&(flt_rule->rules[0]), &flt_rule_entry, sizeof(struct ipa_flt_rule_add)); in handle_addr_evt() 382 if (m_filtering.AddFilteringRule(flt_rule) == false) in handle_addr_evt() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_LanToLan.h | 80 list<flt_rule_info> flt_rule; member
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_LanToLan.h | 120 list<flt_rule_info> flt_rule; member
|