Searched refs:rt_rule_entry (Results 1 – 10 of 10) 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 | 230 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 283 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 284 rt_rule_entry->at_rear = false; in handle_addr_evt() 285 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 286 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt() 287 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt() 288 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt() 289 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt() 290 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt() 291 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt() [all …]
|
D | IPACM_Wlan.cpp | 1461 struct ipa_rt_rule_add *rt_rule_entry; in handle_wlan_client_route_rule() local 1538 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1539 rt_rule_entry->at_rear = 0; in handle_wlan_client_route_rule() 1558 rt_rule_entry->rule.dst = get_client_memptr(wlan_client, wlan_index)->wigig_ipa_client; in handle_wlan_client_route_rule() 1566 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].alt_dst_pipe; in handle_wlan_client_route_rule() 1570 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].dst_pipe; in handle_wlan_client_route_rule() 1574 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule() 1576 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule() 1577 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule() 1578 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 | 1329 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 1371 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1372 rt_rule_entry->at_rear = false; in handle_addr_evt() 1373 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt() 1374 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 1376 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt() 1377 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt() 1379 rt_rule_entry->rule.hashable = true; in handle_addr_evt() 1386 else if (rt_rule_entry->status) in handle_addr_evt() 1388 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_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 …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wlan.cpp | 1388 struct ipa_rt_rule_add *rt_rule_entry; in handle_wlan_client_route_rule() local 1464 rt_rule_entry = &rt_rule->rules[0]; in handle_wlan_client_route_rule() 1465 rt_rule_entry->at_rear = 0; in handle_wlan_client_route_rule() 1484 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].alt_dst_pipe; in handle_wlan_client_route_rule() 1488 rt_rule_entry->rule.dst = tx_prop->tx[tx_index].dst_pipe; in handle_wlan_client_route_rule() 1491 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule() 1493 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule() 1494 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule() 1495 rt_rule_entry->rule.hdr_hdl = get_client_memptr(wlan_client, wlan_index)->hdr_hdl_v4; in handle_wlan_client_route_rule() 1496 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 | 1279 struct ipa_rt_rule_add *rt_rule_entry; in handle_addr_evt() local 1321 rt_rule_entry = &rt_rule->rules[0]; in handle_addr_evt() 1322 rt_rule_entry->at_rear = false; in handle_addr_evt() 1323 rt_rule_entry->rule.dst = IPA_CLIENT_APPS_LAN_CONS; //go to A5 in handle_addr_evt() 1324 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt() 1326 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt() 1327 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt() 1329 rt_rule_entry->rule.hashable = true; in handle_addr_evt() 1337 else if (rt_rule_entry->status) in handle_addr_evt() 1339 IPACMERR("rt rule adding failed. Result=%d\n", rt_rule_entry->status); in handle_addr_evt() [all …]
|