Searched refs:rt_rule_entry (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Routing.cpp | 120 struct ipa_rt_rule_add_v2 rt_rule_entry; in AddRoutingRule_hw_index() local 155 memset(&rt_rule_entry, 0, sizeof(struct ipa_rt_rule_add_v2)); in AddRoutingRule_hw_index() 156 rt_rule_entry.at_rear = ruleTable->rules[cnt].at_rear; in AddRoutingRule_hw_index() 157 rt_rule_entry.rule.dst = ruleTable->rules[cnt].rule.dst; in AddRoutingRule_hw_index() 158 rt_rule_entry.rule.hdr_hdl = ruleTable->rules[cnt].rule.hdr_hdl; in AddRoutingRule_hw_index() 159 rt_rule_entry.rule.hdr_proc_ctx_hdl = ruleTable->rules[cnt].rule.hdr_proc_ctx_hdl; in AddRoutingRule_hw_index() 160 rt_rule_entry.rule.max_prio = ruleTable->rules[cnt].rule.max_prio; in AddRoutingRule_hw_index() 161 rt_rule_entry.rule.hashable = ruleTable->rules[cnt].rule.hashable; in AddRoutingRule_hw_index() 162 rt_rule_entry.rule.retain_hdr = ruleTable->rules[cnt].rule.retain_hdr; in AddRoutingRule_hw_index() 163 rt_rule_entry.rule.coalesce = ruleTable->rules[cnt].rule.coalesce; in AddRoutingRule_hw_index() [all …]
|
D | IPACM_Wan.cpp | 286 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 339 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 340 rt_rule_entry->at_rear = false; in handle_addr_evt() 341 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 342 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt() 343 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt() 344 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt() 345 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt() 346 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt() 347 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt() [all …]
|
D | IPACM_Wlan.cpp | 1471 struct ipa_rt_rule_add *rt_rule_entry; in handle_wlan_client_route_rule() local 1548 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1549 rt_rule_entry->at_rear = 0; in handle_wlan_client_route_rule() 1568 rt_rule_entry->rule.dst = get_client_memptr(wlan_client, wlan_index)->wigig_ipa_client; in handle_wlan_client_route_rule() 1576 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].alt_dst_pipe; in handle_wlan_client_route_rule() 1580 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].dst_pipe; in handle_wlan_client_route_rule() 1584 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule() 1586 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule() 1587 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule() 1588 rt_rule_entry->rule.hdr_hdl = get_client_memptr(wlan_client, wlan_index)->hdr_hdl_v4; in handle_wlan_client_route_rule() [all …]
|
D | IPACM_Lan.cpp | 1341 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 1383 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1384 rt_rule_entry->at_rear = false; in handle_addr_evt() 1385 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt() 1386 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 1388 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt() 1389 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt() 1391 rt_rule_entry->rule.hashable = true; in handle_addr_evt() 1398 else if (rt_rule_entry->status) in handle_addr_evt() 1400 IPACMERR("rt rule adding failed. Result=%d\n", rt_rule_entry->status); in handle_addr_evt() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Wlan.cpp | 1315 struct ipa_rt_rule_add *rt_rule_entry; in handle_wlan_client_route_rule() local 1391 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1392 rt_rule_entry->at_rear = 0; in handle_wlan_client_route_rule() 1411 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].alt_dst_pipe; in handle_wlan_client_route_rule() 1415 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].dst_pipe; in handle_wlan_client_route_rule() 1418 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule() 1420 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule() 1421 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule() 1422 rt_rule_entry->rule.hdr_hdl = get_client_memptr(wlan_client, wlan_index)->hdr_hdl_v4; in handle_wlan_client_route_rule() 1423 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule() [all …]
|
D | IPACM_Routing.cpp | 207 struct ipa_rt_rule_del *rt_rule_entry; in DeleteRoutingHdl() local 230 rt_rule_entry = &rt_rule->hdl[0]; in DeleteRoutingHdl() 231 rt_rule_entry->status = -1; in DeleteRoutingHdl() 232 rt_rule_entry->hdl = rt_rule_hdl; in DeleteRoutingHdl() 234 IPACMDBG_H("Deleting Route hdl:(0x%x) with ip type: %d\n", rt_rule_entry->hdl, ip); in DeleteRoutingHdl() 236 (rt_rule_entry->status)) in DeleteRoutingHdl()
|
D | IPACM_Wan.cpp | 201 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 252 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 262 rt_rule_entry->rule.hdr_hdl = hdr.hdl; in handle_addr_evt() 264 rt_rule_entry->at_rear = false; in handle_addr_evt() 267 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_WAN_CONS; in handle_addr_evt() 271 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; in handle_addr_evt() 273 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt() 275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt() 276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt() [all …]
|
D | IPACM_Lan.cpp | 1123 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 1165 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1166 rt_rule_entry->at_rear = false; in handle_addr_evt() 1167 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt() 1168 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 1170 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt() 1171 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt() 1173 rt_rule_entry->rule.hashable = true; in handle_addr_evt() 1181 else if (rt_rule_entry->status) in handle_addr_evt() 1183 IPACMERR("rt rule adding failed. Result=%d\n", rt_rule_entry->status); in handle_addr_evt() [all …]
|