Home
last modified time | relevance | path

Searched refs:IPA_IP_v4 (Results 1 – 25 of 44) sorted by relevance

12

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp415 snprintf(rt_tbl_name_for_flt[IPA_IP_v4], IPA_RESOURCE_NAME_MAX, "eth_v4_%s_to_%s", in handle_new_iface_up()
418 IPACMDBG_H("IPv4 routing table for flt name: %s\n", rt_tbl_name_for_flt[IPA_IP_v4]); in handle_new_iface_up()
425 snprintf(rt_tbl_name_for_rt[IPA_IP_v4], IPA_RESOURCE_NAME_MAX, "eth_v4_%s_to_%s", in handle_new_iface_up()
428 IPACMDBG_H("IPv4 routing table for rt name: %s\n", rt_tbl_name_for_rt[IPA_IP_v4]); in handle_new_iface_up()
918 …m_p_iface->eth_bridge_add_rt_rule(client->mac_addr, peer_info->rt_tbl_name_for_rt[IPA_IP_v4], hdr_… in add_client_rt_rule()
919 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule()
921 client->inter_iface_rt_rule_hdl[peer_l2_hdr_type].num_hdl[IPA_IP_v4] = num_rt_rule; in add_client_rt_rule()
926 client->inter_iface_rt_rule_hdl[peer_l2_hdr_type].rule_hdl[IPA_IP_v4][i] = rt_rule_hdl[i]; in add_client_rt_rule()
943 …m_p_iface->eth_bridge_add_rt_rule(client->mac_addr, peer_info->rt_tbl_name_for_rt[IPA_IP_v4], hdr_… in add_client_rt_rule()
944 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule, client->ep); in add_client_rt_rule()
[all …]
DIPACM_Wlan.cpp192 handle_private_subnet_android(IPA_IP_v4); in event_callback()
234 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
251 if (data->iptype == IPA_IP_v4) in event_callback()
297 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
301 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
302 IPACM_Lan::handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
307 IPACM_Lan::handle_wan_up(IPA_IP_v4); in event_callback()
341 is_upstream_set[IPA_IP_v4] = true; in event_callback()
381 if(ip_type == IPA_IP_v4 || ip_type == IPA_IP_MAX) in event_callback()
384 if(is_upstream_set[IPA_IP_v4] == false) in event_callback()
[all …]
DIPACM_Wan.cpp556 if (m_routing.DeleteRoutingHdl(dft_coalesce_rt_rule_hdl[0], IPA_IP_v4) == false) in handle_addr_evt()
562 if (m_routing.DeleteRoutingHdl(dft_coalesce_rt_rule_hdl[1], IPA_IP_v4) == false) in handle_addr_evt()
571 if (m_routing.DeleteRoutingHdl(dft_rt_rule_hdl[0], IPA_IP_v4) == false) in handle_addr_evt()
718 …/tx properties registered for iface %s, add for NATTING for ip-family %d \n", dev_name, IPA_IP_v4); in handle_addr_evt()
719 IPACM_Iface::ipacmcfg->AddNatIfaces(dev_name, IPA_IP_v4); in handle_addr_evt()
887 if (m_routing.DeleteRoutingHdl(dft_rt_rule_hdl[0], IPA_IP_v4) == false) in handle_addr_evt_mhi_q6()
900 …/tx properties registered for iface %s, add for NATTING for ip-family %d \n", dev_name, IPA_IP_v4); in handle_addr_evt_mhi_q6()
901 IPACM_Iface::ipacmcfg->AddNatIfaces(dev_name, IPA_IP_v4); in handle_addr_evt_mhi_q6()
1059 del_dft_firewall_rules(IPA_IP_v4); in event_callback()
1060 config_dft_firewall_rules(IPA_IP_v4); in event_callback()
[all …]
DIPACM_Lan.cpp93 each_client_rt_rule_count[IPA_IP_v4] = 0; in IPACM_Lan()
177 …ing rules for eth bridge for each client.\n", each_client_rt_rule_count[IPA_IP_v4], each_client_rt… in IPACM_Lan()
208 is_upstream_set[IPA_IP_v4] = true; in IPACM_Lan()
291 handle_private_subnet_android(IPA_IP_v4); in event_callback()
332 if(IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4) != 0) in event_callback()
335 …_prop->rx[0].src_pipe, IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4)); in event_callback()
370 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
428 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
432 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
433 handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
[all …]
DIPACM_Iface.cpp147 m_pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_enable()
162 flt_eq.ip = IPA_IP_v4; in handle_software_routing_enable()
199 IPACM_Iface::ipacmcfg->increaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_enable()
297 pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_disable()
324 IPA_IP_v4, 1) == false) in handle_software_routing_disable()
331 IPACM_Iface::ipacmcfg->decreaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_disable()
517 data_addr->iptype = IPA_IP_v4; in iface_addr_query()
748 if (iptype == IPA_IP_v4) in init_fl_rule()
837 …IPACM_Iface::ipacmcfg->increaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, IPV4_DEFAULT_FILTE… in init_fl_rule()
1106 if (iptype == IPA_IP_v4) in config_ip_type()
[all …]
DIPACM_Config.cpp330 rt_tbl_default_v4.ip = IPA_IP_v4; in Init()
333 rt_tbl_lan_v4.ip = IPA_IP_v4; in Init()
336 rt_tbl_wan_v4.ip = IPA_IP_v4; in Init()
345 rt_tbl_odu_v4.ip = IPA_IP_v4; in Init()
489 if (ip_type == IPA_IP_v4) { in AddNatIfaces()
513 if (ip_type == IPA_IP_v4) { in AddNatIfaces()
578 if (ip_type == IPA_IP_v4 && pNatIfaces[i].v4_up == true) in CheckNatIfaces()
820 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp()
854 if(ip_type == IPA_IP_v4) in GetExtProp()
872 if(ip_type != IPA_IP_v4) in DelExtProp()
DIPACM_OffloadManager.cpp229 if (prefix.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(downstream_name, IPA_IP_v4)) in addDownstream()
386 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
406 if (gw_addr_v4.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(upstream_name, IPA_IP_v4)) in setUpstream()
472 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
493 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream()
525 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream()
536 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
800 …refix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].dev_name, IPA_IP_v4)) in search_framwork_cache()
813 …refix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].dev_name, IPA_IP_v4)) in search_framwork_cache()
942 if (prefix.iptype == IPA_IP_v4) { in push_framework_event()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp410 snprintf(rt_tbl_name_for_flt[IPA_IP_v4], IPA_RESOURCE_NAME_MAX, "eth_v4_%s_to_%s", in handle_new_iface_up()
413 IPACMDBG_H("IPv4 routing table for flt name: %s\n", rt_tbl_name_for_flt[IPA_IP_v4]); in handle_new_iface_up()
420 snprintf(rt_tbl_name_for_rt[IPA_IP_v4], IPA_RESOURCE_NAME_MAX, "eth_v4_%s_to_%s", in handle_new_iface_up()
423 IPACMDBG_H("IPv4 routing table for rt name: %s\n", rt_tbl_name_for_rt[IPA_IP_v4]); in handle_new_iface_up()
913 …m_p_iface->eth_bridge_add_rt_rule(client->mac_addr, peer_info->rt_tbl_name_for_rt[IPA_IP_v4], hdr_… in add_client_rt_rule()
914 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule); in add_client_rt_rule()
916 client->inter_iface_rt_rule_hdl[peer_l2_hdr_type].num_hdl[IPA_IP_v4] = num_rt_rule; in add_client_rt_rule()
921 client->inter_iface_rt_rule_hdl[peer_l2_hdr_type].rule_hdl[IPA_IP_v4][i] = rt_rule_hdl[i]; in add_client_rt_rule()
938 …m_p_iface->eth_bridge_add_rt_rule(client->mac_addr, peer_info->rt_tbl_name_for_rt[IPA_IP_v4], hdr_… in add_client_rt_rule()
939 peer_l2_hdr_type, IPA_IP_v4, rt_rule_hdl, &num_rt_rule); in add_client_rt_rule()
[all …]
DIPACM_Wlan.cpp192 handle_private_subnet_android(IPA_IP_v4); in event_callback()
233 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
250 if (data->iptype == IPA_IP_v4) in event_callback()
295 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
299 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
300 IPACM_Lan::handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
305 IPACM_Lan::handle_wan_up(IPA_IP_v4); in event_callback()
339 is_upstream_set[IPA_IP_v4] = true; in event_callback()
378 if(ip_type == IPA_IP_v4 || ip_type == IPA_IP_MAX) in event_callback()
381 if(is_upstream_set[IPA_IP_v4] == false) in event_callback()
[all …]
DIPACM_Wan.cpp421 if (m_routing.DeleteRoutingHdl(dft_rt_rule_hdl[0], IPA_IP_v4) == false) in handle_addr_evt()
616 del_dft_firewall_rules(IPA_IP_v4); in event_callback()
617 config_dft_firewall_rules(IPA_IP_v4); in event_callback()
697 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
710 if( (data->iptype == IPA_IP_v4) in event_callback()
746 if ((data->iptype == IPA_IP_v4) && (ip_type == IPA_IP_v4 || ip_type == IPA_IP_MAX)) in event_callback()
812 if ((data->iptype == IPA_IP_v4) && (active_v4 == true)) in event_callback()
819 del_wan_firewall_rule(IPA_IP_v4); in event_callback()
821 handle_route_del_evt_ex(IPA_IP_v4); in event_callback()
825 del_dft_firewall_rules(IPA_IP_v4); in event_callback()
[all …]
DIPACM_Lan.cpp93 each_client_rt_rule_count[IPA_IP_v4] = 0; in IPACM_Lan()
177 …ing rules for eth bridge for each client.\n", each_client_rt_rule_count[IPA_IP_v4], each_client_rt… in IPACM_Lan()
208 is_upstream_set[IPA_IP_v4] = true; in IPACM_Lan()
291 handle_private_subnet_android(IPA_IP_v4); in event_callback()
332 if(IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4) != 0) in event_callback()
335 …_prop->rx[0].src_pipe, IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4)); in event_callback()
369 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
427 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
431 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
432 handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
[all …]
DIPACM_Iface.cpp149 m_pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_enable()
163 IPACM_Iface::ipacmcfg->increaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_enable()
193 if (ip_type == IPA_IP_v4)
195 m_pFilteringTable->ip = IPA_IP_v4;
218 if (ip_type == IPA_IP_v4)
257 IPA_IP_v4, 1) == false) in handle_software_routing_disable()
263 IPACM_Iface::ipacmcfg->decreaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_disable()
279 if (ip_type == IPA_IP_v4)
281 ip = IPA_IP_v4;
289 if (ip_type == IPA_IP_v4)
[all …]
DIPACM_Config.cpp323 rt_tbl_default_v4.ip = IPA_IP_v4; in Init()
326 rt_tbl_lan_v4.ip = IPA_IP_v4; in Init()
329 rt_tbl_wan_v4.ip = IPA_IP_v4; in Init()
338 rt_tbl_odu_v4.ip = IPA_IP_v4; in Init()
482 if (ip_type == IPA_IP_v4) { in AddNatIfaces()
506 if (ip_type == IPA_IP_v4) { in AddNatIfaces()
571 if (ip_type == IPA_IP_v4 && pNatIfaces[i].v4_up == true) in CheckNatIfaces()
813 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp()
847 if(ip_type == IPA_IP_v4) in GetExtProp()
865 if(ip_type != IPA_IP_v4) in DelExtProp()
DIPACM_OffloadManager.cpp228 if (prefix.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(downstream_name, IPA_IP_v4)) in addDownstream()
380 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
400 if (gw_addr_v4.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(upstream_name, IPA_IP_v4)) in setUpstream()
459 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
480 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream()
512 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream()
523 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream()
893 if (prefix.iptype == IPA_IP_v4) { in push_framework_event()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Wlan.cpp186 handle_private_subnet_android(IPA_IP_v4); in event_callback()
214 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
231 if (data->iptype == IPA_IP_v4) in event_callback()
273 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
277 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
278 IPACM_Lan::handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
283 IPACM_Lan::handle_wan_up(IPA_IP_v4); in event_callback()
344 if(ip_type == IPA_IP_v4 || ip_type == IPA_IP_MAX) in event_callback()
347 if(is_upstream_set[IPA_IP_v4] == false) in event_callback()
350 is_upstream_set[IPA_IP_v4] = true; in event_callback()
[all …]
DIPACM_Lan.cpp87 each_client_rt_rule_count[IPA_IP_v4] = 0; in IPACM_Lan()
171 …ing rules for eth bridge for each client.\n", each_client_rt_rule_count[IPA_IP_v4], each_client_rt… in IPACM_Lan()
194 is_upstream_set[IPA_IP_v4] = true; in IPACM_Lan()
276 handle_private_subnet_android(IPA_IP_v4); in event_callback()
317 if(IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4) != 0) in event_callback()
320 …_prop->rx[0].src_pipe, IPACM_Iface::ipacmcfg->getFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4)); in event_callback()
339 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
391 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
395 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
396 handle_wan_up_ex(ext_prop, IPA_IP_v4, in event_callback()
[all …]
DIPACM_Iface.cpp149 m_pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_enable()
163 IPACM_Iface::ipacmcfg->increaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_enable()
193 if (ip_type == IPA_IP_v4)
195 m_pFilteringTable->ip = IPA_IP_v4;
218 if (ip_type == IPA_IP_v4)
257 IPA_IP_v4, 1) == false) in handle_software_routing_disable()
263 IPACM_Iface::ipacmcfg->decreaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v4, 1); in handle_software_routing_disable()
279 if (ip_type == IPA_IP_v4)
281 ip = IPA_IP_v4;
289 if (ip_type == IPA_IP_v4)
[all …]
DIPACM_Config.cpp314 rt_tbl_default_v4.ip = IPA_IP_v4; in Init()
317 rt_tbl_lan_v4.ip = IPA_IP_v4; in Init()
320 rt_tbl_wan_v4.ip = IPA_IP_v4; in Init()
329 rt_tbl_odu_v4.ip = IPA_IP_v4; in Init()
773 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp()
807 if(ip_type == IPA_IP_v4) in GetExtProp()
825 if(ip_type != IPA_IP_v4) in DelExtProp()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wlan.h155 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
164 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_default_qos_rtrules()
DIPACM_Config.h160 if(iptype == IPA_IP_v4) in increaseFltRuleCount()
180 if(iptype == IPA_IP_v4) in decreaseFltRuleCount()
200 if(iptype == IPA_IP_v4) in getFltRuleCount()
DIPACM_Lan.h309 if(iptype == IPA_IP_v4) in delete_eth_rtrules()
313 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(eth_client, clt_indx)->route_rule… in delete_eth_rtrules()
318 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_eth_rtrules()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h155 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
159 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
164 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_default_qos_rtrules()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h159 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
163 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wlan_client, clt_indx)->route_rul… in delete_default_qos_rtrules()
168 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_default_qos_rtrules()
DIPACM_Config.h167 if(iptype == IPA_IP_v4) in increaseFltRuleCount()
187 if(iptype == IPA_IP_v4) in decreaseFltRuleCount()
207 if(iptype == IPA_IP_v4) in getFltRuleCount()
DIPACM_Wan.h144 if (iptype == IPA_IP_v4) in queryMTU()
193 if (iptype == IPA_IP_v4) in delete_tether_iface()
293 IPACM_Iface::ipacmcfg->DelExtProp(IPA_IP_v4); in clearExtProp()
527 if(iptype == IPA_IP_v4) in delete_wan_rtrules()
531 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules()
536 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_wan_rtrules()

12