Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Routing.cpp119 struct ipa_ioc_add_rt_rule_v2 *ruleTable_v2; in AddRoutingRule_hw_index() local
131 ruleTable_v2 = (struct ipa_ioc_add_rt_rule_v2*)malloc(len); in AddRoutingRule_hw_index()
132 if (ruleTable_v2 == NULL) in AddRoutingRule_hw_index()
137 memset(ruleTable_v2, 0, len); in AddRoutingRule_hw_index()
138 ruleTable_v2->rules = (uint64_t)calloc(ruleTable->num_rules, sizeof(struct ipa_rt_rule_add_v2)); in AddRoutingRule_hw_index()
139 if (!ruleTable_v2->rules) { in AddRoutingRule_hw_index()
145 ruleTable_v2->commit = ruleTable->commit; in AddRoutingRule_hw_index()
146 ruleTable_v2->ip = ruleTable->ip; in AddRoutingRule_hw_index()
147 ruleTable_v2->num_rules = ruleTable->num_rules; in AddRoutingRule_hw_index()
148 ruleTable_v2->rule_add_size = sizeof(struct ipa_rt_rule_add_v2); in AddRoutingRule_hw_index()
[all …]
DIPACM_Filtering.cpp125 struct ipa_ioc_add_flt_rule_v2 *ruleTable_v2; in AddFilteringRule_hw_index() local
137 ruleTable_v2 = (struct ipa_ioc_add_flt_rule_v2*)malloc(len); in AddFilteringRule_hw_index()
138 if (ruleTable_v2 == NULL) in AddFilteringRule_hw_index()
143 memset(ruleTable_v2, 0, len); in AddFilteringRule_hw_index()
144 ruleTable_v2->rules = (uint64_t)calloc(ruleTable->num_rules, sizeof(struct ipa_flt_rule_add_v2)); in AddFilteringRule_hw_index()
145 if (!ruleTable_v2->rules) { in AddFilteringRule_hw_index()
151 ruleTable_v2->commit = ruleTable->commit; in AddFilteringRule_hw_index()
152 ruleTable_v2->ep = ruleTable->ep; in AddFilteringRule_hw_index()
153 ruleTable_v2->global = ruleTable->global; in AddFilteringRule_hw_index()
154 ruleTable_v2->ip = ruleTable->ip; in AddFilteringRule_hw_index()
[all …]