/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
H A D | IPACM_LanToLan.cpp | 565 if(m_is_ip_addr_assigned[IPA_IP_v4]) in add_one_client_flt_rule() 649 if(m_is_ip_addr_assigned[IPA_IP_v4]) in del_client_flt_rule() 651 m_p_iface->eth_bridge_del_flt_rule(it_flt->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in del_client_flt_rule() 700 …p_iface->eth_bridge_del_rt_rule(client->intra_iface_rt_rule_hdl.rule_hdl[IPA_IP_v4][i], IPA_IP_v4); in del_client_rt_rule() 787 if(m_is_ip_addr_assigned[IPA_IP_v4]) in clear_all_flt_rule_for_one_peer_iface() 789 m_p_iface->eth_bridge_del_flt_rule(it->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in clear_all_flt_rule_for_one_peer_iface() 841 …peer_l2_hdr_type, IPA_IP_v4, it_client->inter_iface_rt_rule_hdl[peer_l2_hdr_type].rule_hdl[IPA_IP_… in handle_wlan_scc_mcc_switch() 932 …memcpy(new_peer.rt_tbl_name_for_rt[IPA_IP_v4], rt_tbl_name_for_rt[IPA_IP_v4], IPA_RESOURCE_NAME_MA… in handle_new_iface_up() 934 …memcpy(new_peer.rt_tbl_name_for_flt[IPA_IP_v4], rt_tbl_name_for_flt[IPA_IP_v4], IPA_RESOURCE_NAME_… in handle_new_iface_up() 1000 if(m_is_ip_addr_assigned[IPA_IP_v4]) in handle_client_add() [all …]
|
H A D | IPACM_Wlan.cpp | 231 if (data->iptype == IPA_IP_v4) in event_callback() 359 handle_wan_up(IPA_IP_v4); in event_callback() 369 handle_wan_up(IPA_IP_v4); in event_callback() 1223 if (data->iptype == IPA_IP_v4) in handle_wlan_client_ipaddr() 1344 if (iptype==IPA_IP_v4) in handle_wlan_client_route_rule() 1359 if ((iptype == IPA_IP_v4 in handle_wlan_client_route_rule() 1394 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 1531 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 1805 if (ip_type != IPA_IP_v4) in handle_down_evt() 1956 if(iptype == IPA_IP_v4) in handle_wlan_client_reset_rt() [all …]
|
H A D | IPACM_Lan.cpp | 1329 if (iptype == IPA_IP_v4) in handle_private_subnet() 1419 if(ip_type == IPA_IP_v4) in handle_wan_up() 2044 if (iptype==IPA_IP_v4) { in handle_eth_client_route_rule() 2054 if ((iptype == IPA_IP_v4 in handle_eth_client_route_rule() 2476 IPA_IP_v4); in handle_odu_route_add() 3046 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3091 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3216 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3355 if(iptype == IPA_IP_v4) in reset_to_dummy_flt_rule() 3469 if(iptype == IPA_IP_v4) in handle_lan_client_reset_rt() [all …]
|
H A D | IPACM_Wan.cpp | 1561 if (iptype == IPA_IP_v4) in handle_route_add_evt() 1694 if (iptype == IPA_IP_v4) in post_wan_up_tether_evt() 1752 if (iptype == IPA_IP_v4) in post_wan_down_tether_evt() 2048 if (iptype == IPA_IP_v4) in config_dft_firewall_rules() 2771 if (iptype == IPA_IP_v4) in config_dft_firewall_rules_ex() 3200 if(iptype == IPA_IP_v4) in init_fl_rule_ex() 3244 if(iptype == IPA_IP_v4) in add_icmp_alg_rules() 3500 if(iptype == IPA_IP_v4) in config_wan_firewall_rule() 3822 if(iptype == IPA_IP_v4) in del_wan_firewall_rule() 4254 flt_eq.ip = IPA_IP_v4; in config_dft_embms_rules() [all …]
|
H A D | IPACM_Iface.cpp | 149 m_pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_enable() 193 if (ip_type == IPA_IP_v4) 218 if (ip_type == IPA_IP_v4) 279 if (ip_type == IPA_IP_v4) 281 ip = IPA_IP_v4; 289 if (ip_type == IPA_IP_v4) 451 data_addr->iptype = IPA_IP_v4; in iface_addr_query() 680 if (iptype == IPA_IP_v4) in init_fl_rule() 969 if (iptype == IPA_IP_v4) in config_ip_type() 983 ip_type = IPA_IP_v4; in config_ip_type() [all …]
|
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
H A D | IPACM_LanToLan.cpp | 1172 m_p_iface->del_l2tp_flt_rule(IPA_IP_v4, it_flt->l2tp_first_pass_flt_rule_hdl[IPA_IP_v4], in del_client_flt_rule() 1181 m_p_iface->eth_bridge_del_flt_rule(it_flt->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in del_client_flt_rule() 1276 …p_iface->eth_bridge_del_rt_rule(client->intra_iface_rt_rule_hdl.rule_hdl[IPA_IP_v4][i], IPA_IP_v4); in del_client_rt_rule() 1363 if(m_is_ip_addr_assigned[IPA_IP_v4]) in clear_all_flt_rule_for_one_peer_iface() 1374 m_p_iface->del_l2tp_flt_rule(IPA_IP_v4, it->l2tp_first_pass_flt_rule_hdl[IPA_IP_v4], in clear_all_flt_rule_for_one_peer_iface() 1383 m_p_iface->eth_bridge_del_flt_rule(it->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in clear_all_flt_rule_for_one_peer_iface() 1557 …memcpy(new_peer.rt_tbl_name_for_rt[IPA_IP_v4], rt_tbl_name_for_rt[IPA_IP_v4], IPA_RESOURCE_NAME_MA… in handle_new_iface_up() 1559 …memcpy(new_peer.rt_tbl_name_for_flt[IPA_IP_v4], rt_tbl_name_for_flt[IPA_IP_v4], IPA_RESOURCE_NAME_… in handle_new_iface_up() 1636 if(m_is_ip_addr_assigned[IPA_IP_v4]) in handle_client_add() 1902 if(m_is_ip_addr_assigned[IPA_IP_v4]) in print_peer_info() [all …]
|
H A D | IPACM_Wlan.cpp | 250 if (data->iptype == IPA_IP_v4) in event_callback() 394 handle_wan_up(IPA_IP_v4); in event_callback() 404 handle_wan_up(IPA_IP_v4); in event_callback() 1296 if (data->iptype == IPA_IP_v4) in handle_wlan_client_ipaddr() 1417 if (iptype==IPA_IP_v4) in handle_wlan_client_route_rule() 1432 if ((iptype == IPA_IP_v4 in handle_wlan_client_route_rule() 1467 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 1607 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 1912 if (ip_type != IPA_IP_v4) in handle_down_evt() 2067 if(iptype == IPA_IP_v4) in handle_wlan_client_reset_rt() [all …]
|
H A D | IPACM_Wan.cpp | 1577 if (iptype == IPA_IP_v4) in handle_route_add_evt() 1714 if (iptype == IPA_IP_v4) in post_wan_up_tether_evt() 1776 if (iptype == IPA_IP_v4) in post_wan_down_tether_evt() 2040 if (iptype == IPA_IP_v4) in config_dft_firewall_rules() 3192 if(iptype == IPA_IP_v4) in init_fl_rule_ex() 3243 if(iptype == IPA_IP_v4) in add_icmp_alg_rules() 3497 if(iptype == IPA_IP_v4) in config_wan_firewall_rule() 3907 if(iptype == IPA_IP_v4) in del_wan_firewall_rule() 4339 flt_eq.ip = IPA_IP_v4; in config_dft_embms_rules() 4591 IPA_IP_v4, in handle_down_evt() [all …]
|
H A D | IPACM_Lan.cpp | 1502 if (iptype == IPA_IP_v4) in handle_private_subnet() 1592 if(ip_type == IPA_IP_v4) in handle_wan_up() 2229 if (iptype==IPA_IP_v4) { in handle_eth_client_route_rule() 2239 if ((iptype == IPA_IP_v4 in handle_eth_client_route_rule() 2663 IPA_IP_v4); in handle_odu_route_add() 3279 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3328 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3469 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3626 if(iptype == IPA_IP_v4) in reset_to_dummy_flt_rule() 3914 if(iptype == IPA_IP_v4) in add_dummy_private_subnet_flt_rule() [all …]
|
H A D | IPACM_Iface.cpp | 149 m_pFilteringTable->ip = IPA_IP_v4; in handle_software_routing_enable() 193 if (ip_type == IPA_IP_v4) 218 if (ip_type == IPA_IP_v4) 279 if (ip_type == IPA_IP_v4) 281 ip = IPA_IP_v4; 289 if (ip_type == IPA_IP_v4) 452 data_addr->iptype = IPA_IP_v4; in iface_addr_query() 679 if (iptype == IPA_IP_v4) in init_fl_rule() 1004 if (iptype == IPA_IP_v4) in config_ip_type() 1018 ip_type = IPA_IP_v4; in config_ip_type() [all …]
|
H A D | IPACM_Config.cpp | 323 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()
|
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
H A D | IPACM_LanToLan.cpp | 1177 m_p_iface->del_l2tp_flt_rule(IPA_IP_v4, it_flt->l2tp_first_pass_flt_rule_hdl[IPA_IP_v4], in del_client_flt_rule() 1186 m_p_iface->eth_bridge_del_flt_rule(it_flt->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in del_client_flt_rule() 1281 …p_iface->eth_bridge_del_rt_rule(client->intra_iface_rt_rule_hdl.rule_hdl[IPA_IP_v4][i], IPA_IP_v4); in del_client_rt_rule() 1376 if(m_is_ip_addr_assigned[IPA_IP_v4]) in clear_all_flt_rule_for_one_peer_iface() 1387 m_p_iface->del_l2tp_flt_rule(IPA_IP_v4, it->l2tp_first_pass_flt_rule_hdl[IPA_IP_v4], in clear_all_flt_rule_for_one_peer_iface() 1396 m_p_iface->eth_bridge_del_flt_rule(it->flt_rule_hdl[IPA_IP_v4], IPA_IP_v4); in clear_all_flt_rule_for_one_peer_iface() 1570 …memcpy(new_peer.rt_tbl_name_for_rt[IPA_IP_v4], rt_tbl_name_for_rt[IPA_IP_v4], IPA_RESOURCE_NAME_MA… in handle_new_iface_up() 1572 …memcpy(new_peer.rt_tbl_name_for_flt[IPA_IP_v4], rt_tbl_name_for_flt[IPA_IP_v4], IPA_RESOURCE_NAME_… in handle_new_iface_up() 1653 if(m_is_ip_addr_assigned[IPA_IP_v4]) in handle_client_add() 1919 if(m_is_ip_addr_assigned[IPA_IP_v4]) in print_peer_info() [all …]
|
H A D | IPACM_Wlan.cpp | 251 if (data->iptype == IPA_IP_v4) in event_callback() 397 handle_wan_up(IPA_IP_v4); in event_callback() 407 handle_wan_up(IPA_IP_v4); in event_callback() 1379 if (data->iptype == IPA_IP_v4) in handle_wlan_client_ipaddr() 1501 if (iptype==IPA_IP_v4) in handle_wlan_client_route_rule() 1516 if ((iptype == IPA_IP_v4 in handle_wlan_client_route_rule() 1551 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 1740 if (iptype == IPA_IP_v4) in handle_wlan_client_route_rule() 2045 if (ip_type != IPA_IP_v4) in handle_down_evt() 2203 if(iptype == IPA_IP_v4) in handle_wlan_client_reset_rt() [all …]
|
H A D | IPACM_Wan.cpp | 2266 if (iptype == IPA_IP_v4) in handle_route_add_evt() 2453 if (iptype == IPA_IP_v4) in post_wan_up_tether_evt() 4103 if(iptype == IPA_IP_v4) in init_fl_rule_ex() 4154 if(iptype == IPA_IP_v4) in add_icmp_alg_rules() 4409 if(iptype == IPA_IP_v4) in config_wan_firewall_rule() 4716 if(iptype == IPA_IP_v4) in del_wan_firewall_rule() 5240 flt_eq.ip = IPA_IP_v4; in config_dft_embms_rules() 5498 IPA_IP_v4, in handle_down_evt() 6007 flt_eq.ip = IPA_IP_v4; in install_wan_filtering_rule() 7626 flt_eq.ip = IPA_IP_v4; in add_offload_frag_rule() [all …]
|
H A D | IPACM_Lan.cpp | 1563 if (iptype == IPA_IP_v4) in handle_private_subnet() 1666 if(ip_type == IPA_IP_v4) in handle_wan_up() 2374 if (iptype==IPA_IP_v4) { in handle_eth_client_route_rule() 2384 if ((iptype == IPA_IP_v4 in handle_eth_client_route_rule() 2816 IPA_IP_v4); in handle_odu_route_add() 3446 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3675 if(iptype == IPA_IP_v4) in handle_uplink_filter_rule() 3835 if(iptype == IPA_IP_v4) in reset_to_dummy_flt_rule() 3949 if(iptype == IPA_IP_v4) in handle_lan_client_reset_rt() 4149 if(iptype == IPA_IP_v4) in add_dummy_private_subnet_flt_rule() [all …]
|
H A D | IPACM_Iface.cpp | 147 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() 517 data_addr->iptype = IPA_IP_v4; in iface_addr_query() 748 if (iptype == IPA_IP_v4) in init_fl_rule() 1055 if (iptype == IPA_IP_v4) in config_ip_type() 1057 if ((ip_type == IPA_IP_v4) || (ip_type == IPA_IP_MAX)) in config_ip_type() 1069 ip_type = IPA_IP_v4; in config_ip_type() [all …]
|
H A D | IPACM_Config.cpp | 335 rt_tbl_default_v4.ip = IPA_IP_v4; in Init() 338 rt_tbl_lan_v4.ip = IPA_IP_v4; in Init() 341 rt_tbl_wan_v4.ip = IPA_IP_v4; in Init() 350 rt_tbl_odu_v4.ip = IPA_IP_v4; in Init() 494 if (ip_type == IPA_IP_v4) { in AddNatIfaces() 518 if (ip_type == IPA_IP_v4) { in AddNatIfaces() 583 if (ip_type == IPA_IP_v4 && pNatIfaces[i].v4_up == true) in CheckNatIfaces() 825 if(prop->ext[i].ip == IPA_IP_v4) in SetExtProp() 859 if(ip_type == IPA_IP_v4) in GetExtProp() 877 if(ip_type != IPA_IP_v4) in DelExtProp()
|
H A D | IPACM_OffloadManager.cpp | 256 if (prefix.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(downstream_name, IPA_IP_v4)) in addDownstream() 413 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream() 433 if (gw_addr_v4.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(upstream_name, IPA_IP_v4)) in setUpstream() 499 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream() 520 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream() 552 post_route_evt(IPA_IP_v4, index, IPA_WAN_UPSTREAM_ROUTE_ADD_EVENT, gw_addr_v4); in setUpstream() 563 post_route_evt(IPA_IP_v4, default_gw_index, IPA_WAN_UPSTREAM_ROUTE_DEL_EVENT, gw_addr_v4); in setUpstream() 827 …refix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].dev_name, IPA_IP_v4)) in search_framwork_cache() 840 …refix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].dev_name, IPA_IP_v4)) in search_framwork_cache() 969 if (prefix.iptype == IPA_IP_v4) { in push_framework_event()
|
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
H A D | IPACM_Wlan.h | 155 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()
|
H A D | IPACM_Config.h | 160 if(iptype == IPA_IP_v4) in increaseFltRuleCount() 180 if(iptype == IPA_IP_v4) in decreaseFltRuleCount() 200 if(iptype == IPA_IP_v4) in getFltRuleCount()
|
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
H A D | IPACM_Wlan.h | 155 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()
|
H A D | IPACM_Config.h | 162 if(iptype == IPA_IP_v4) in increaseFltRuleCount() 182 if(iptype == IPA_IP_v4) in decreaseFltRuleCount() 202 if(iptype == IPA_IP_v4) in getFltRuleCount()
|
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
H A D | IPACM_Wlan.h | 159 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()
|
H A D | IPACM_Wan.h | 147 if (iptype == IPA_IP_v4) in queryMTU() 195 if (iptype == IPA_IP_v4) in delete_tether_iface() 295 IPACM_Iface::ipacmcfg->DelExtProp(IPA_IP_v4); in clearExtProp() 537 if(iptype == IPA_IP_v4) in delete_wan_rtrules() 541 …if((tx_prop->tx[tx_index].ip == IPA_IP_v4) && (get_client_memptr(wan_client, clt_indx)->route_rule… in delete_wan_rtrules() 546 if(m_routing.DeleteRoutingHdl(rt_hdl, IPA_IP_v4) == false) in delete_wan_rtrules()
|
H A D | IPACM_Config.h | 167 if(iptype == IPA_IP_v4) in increaseFltRuleCount() 187 if(iptype == IPA_IP_v4) in decreaseFltRuleCount() 207 if(iptype == IPA_IP_v4) in getFltRuleCount()
|