/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wan.h | 99 class IPACM_Wan : public IPACM_Iface 113 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *); 114 virtual ~IPACM_Wan(); 196 for (i=0; i < IPACM_Wan::ipa_if_num_tether_v4_total; i++) in delete_tether_iface() 198 if(IPACM_Wan::ipa_if_num_tether_v4[i] == ipa_if_num_tether) in delete_tether_iface() 205 if(i == IPACM_Wan::ipa_if_num_tether_v4_total) in delete_tether_iface() 210 for(j = i+1; j < IPACM_Wan::ipa_if_num_tether_v4_total; j++) in delete_tether_iface() 212 IPACM_Wan::ipa_if_num_tether_v4[j-1] = IPACM_Wan::ipa_if_num_tether_v4[j]; in delete_tether_iface() 214 IPACM_Wan::ipa_if_num_tether_v4_total--; in delete_tether_iface() 216 IPACM_Wan::ipa_if_num_tether_v4_total); in delete_tether_iface() [all …]
|
D | IPACM_Wlan.h | 192 …pv6_addr(get_client_memptr(wlan_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::backhaul_mode =… in delete_default_qos_rtrules()
|
D | IPACM_Lan.h | 400 …ipv6_addr(get_client_memptr(eth_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::backhaul_mode =… in delete_eth_rtrules()
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Wan.h | 93 class IPACM_Wan : public IPACM_Iface 104 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *); 105 virtual ~IPACM_Wan(); 167 for (i=0; i < IPACM_Wan::ipa_if_num_tether_v4_total; i++) in delete_tether_iface() 169 if(IPACM_Wan::ipa_if_num_tether_v4[i] == ipa_if_num_tether) in delete_tether_iface() 176 if(i == IPACM_Wan::ipa_if_num_tether_v4_total) in delete_tether_iface() 181 for(j = i+1; j < IPACM_Wan::ipa_if_num_tether_v4_total; j++) in delete_tether_iface() 183 IPACM_Wan::ipa_if_num_tether_v4[j-1] = IPACM_Wan::ipa_if_num_tether_v4[j]; in delete_tether_iface() 185 IPACM_Wan::ipa_if_num_tether_v4_total--; in delete_tether_iface() 187 IPACM_Wan::ipa_if_num_tether_v4_total); in delete_tether_iface() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wan.cpp | 57 bool IPACM_Wan::wan_up = false; 58 bool IPACM_Wan::wan_up_v6 = false; 59 uint8_t IPACM_Wan::xlat_mux_id = 0; 61 uint32_t IPACM_Wan::curr_wan_ip = 0; 62 int IPACM_Wan::num_v4_flt_rule = 0; 63 int IPACM_Wan::num_v6_flt_rule = 0; 65 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v4[IPA_MAX_FLT_RULE]; 66 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v6[IPA_MAX_FLT_RULE]; 68 char IPACM_Wan::wan_up_dev_name[IF_NAME_LEN]; 70 bool IPACM_Wan::backhaul_is_sta_mode = false; [all …]
|
D | IPACM_Wlan.cpp | 293 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 297 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 301 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 313 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 317 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 318 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() 320 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 336 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 341 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 392 IPACM_Wan::getXlat_Mux_Id()); in event_callback() [all …]
|
D | Makefile.am | 22 IPACM_Wan.cpp \
|
D | IPACM_IfaceManager.cpp | 437 IPACM_Wan *w; in create_iface_instance() 440 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance() 452 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance() 501 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
|
D | IPACM_Lan.cpp | 198 if(ipa_if_cate == LAN_IF && IPACM_Wan::backhaul_is_sta_mode == true) /* LTE */ in IPACM_Lan() 200 … falg set on LAN instance (%d) with WIFI backhaul (%d)\n", ipa_if_cate, IPACM_Wan::backhaul_is_sta… in IPACM_Lan() 205 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan() 211 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan() 425 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 429 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 433 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 445 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 449 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 450 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() [all …]
|
D | Android.mk | 48 IPACM_Wan.cpp \
|
D | IPACM_ConntrackListener.cpp | 702 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wan.cpp | 58 bool IPACM_Wan::wan_up = false; 59 bool IPACM_Wan::wan_up_v6 = false; 60 uint8_t IPACM_Wan::xlat_mux_id = 0; 62 uint32_t IPACM_Wan::curr_wan_ip = 0; 63 int IPACM_Wan::num_v4_flt_rule = 0; 64 int IPACM_Wan::num_v6_flt_rule = 0; 66 int IPACM_Wan::ipa_pm_q6_check = 0; 68 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v4[IPA_MAX_FLT_RULE]; 69 struct ipa_flt_rule_add IPACM_Wan::flt_rule_v6[IPA_MAX_FLT_RULE]; 71 char IPACM_Wan::wan_up_dev_name[IF_NAME_LEN]; [all …]
|
D | IPACM_Wlan.cpp | 295 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 299 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback() 303 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 315 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 319 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 320 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() 322 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback() 338 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 343 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 566 if (IPACM_Wan::isXlat() && (data->prefix.iptype == IPA_IP_v4)) in event_callback() [all …]
|
D | Makefile.am | 22 IPACM_Wan.cpp \
|
D | IPACM_Lan.cpp | 198 if(ipa_if_cate == LAN_IF && IPACM_Wan::backhaul_mode == WLAN_WAN) /* LTE */ in IPACM_Lan() 200 … flag set on LAN instance (%d) with WIFI backhaul (%d)\n", ipa_if_cate, IPACM_Wan::backhaul_mode )… in IPACM_Lan() 205 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan() 211 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan() 426 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 430 if(IPACM_Wan::backhaul_mode == Q6_WAN) in event_callback() 434 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 446 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 450 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 451 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() [all …]
|
D | IPACM_IfaceManager.cpp | 437 IPACM_Wan *w; in create_iface_instance() 440 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance() 452 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance() 502 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
|
D | IPACM_Main.cpp | 755 IPACM_Wan::clearExtProp(); in ipa_driver_msg_notifier() 845 …IPACM_Wan::coalesce_config(coalesce_info.qmap_id, coalesce_info.tcp_enable, coalesce_info.udp_enab… in ipa_driver_msg_notifier() 861 IPACM_Wan::coalesce_config(coalesce_info.qmap_id, false, false); in ipa_driver_msg_notifier() 965 IPACM_Wan::coalesce_config_reset(); in main()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Wlan.cpp | 271 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 275 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 279 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 291 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 295 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 296 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() 298 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 548 if (IPACM_Wan::backhaul_is_sta_mode == false) /* LTE */ in event_callback() 579 handle_wan_down(IPACM_Wan::backhaul_is_sta_mode); /* LTE STA */ in event_callback() 582 handle_wan_down_v6(IPACM_Wan::backhaul_is_sta_mode); /* LTE STA */ in event_callback() [all …]
|
D | Makefile.am | 22 IPACM_Wan.cpp \
|
D | IPACM_IfaceManager.cpp | 419 IPACM_Wan *w; in create_iface_instance() 422 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance() 426 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance() 471 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
|
D | IPACM_Lan.cpp | 191 if (IPACM_Wan::isWanUP(ipa_if_num)) in IPACM_Lan() 197 if (IPACM_Wan::isWanUP_V6(ipa_if_num)) in IPACM_Lan() 389 if (IPACM_Wan::isWanUP(ipa_if_num)) in event_callback() 393 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 397 IPACM_Wan::getXlat_Mux_Id()); in event_callback() 409 if(IPACM_Wan::isWanUP_V6(ipa_if_num)) in event_callback() 413 memcpy(ipv6_prefix, IPACM_Wan::backhaul_ipv6_prefix, sizeof(ipv6_prefix)); in event_callback() 414 install_ipv6_prefix_flt_rule(IPACM_Wan::backhaul_ipv6_prefix); in event_callback() 415 if(IPACM_Wan::backhaul_is_sta_mode == false) in event_callback() 685 if (IPACM_Wan::backhaul_is_sta_mode == false) /* LTE */ in event_callback() [all …]
|
D | Android.mk | 67 IPACM_Wan.cpp \
|
D | IPACM_ConntrackListener.cpp | 711 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/ |
D | Android.bp | 27 "src/IPACM_Wan.cpp",
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Wan.h | 90 class IPACM_Wan : public IPACM_Iface 101 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *); 102 virtual ~IPACM_Wan();
|