Home
last modified time | relevance | path

Searched refs:IPACM_Wan (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h100 class IPACM_Wan : public IPACM_Iface
116 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *);
117 virtual ~IPACM_Wan();
198 for (i=0; i < IPACM_Wan::ipa_if_num_tether_v4_total; i++) in delete_tether_iface()
200 if(IPACM_Wan::ipa_if_num_tether_v4[i] == ipa_if_num_tether) in delete_tether_iface()
207 if(i == IPACM_Wan::ipa_if_num_tether_v4_total) in delete_tether_iface()
212 for(j = i+1; j < IPACM_Wan::ipa_if_num_tether_v4_total; j++) in delete_tether_iface()
214 IPACM_Wan::ipa_if_num_tether_v4[j-1] = IPACM_Wan::ipa_if_num_tether_v4[j]; in delete_tether_iface()
216 IPACM_Wan::ipa_if_num_tether_v4_total--; in delete_tether_iface()
218 IPACM_Wan::ipa_if_num_tether_v4_total); in delete_tether_iface()
[all …]
DIPACM_Wlan.h192 …pv6_addr(get_client_memptr(wlan_client, clt_indx)->v6_addr[num_v6]) && (IPACM_Wan::backhaul_mode =… in delete_default_qos_rtrules()
DIPACM_Lan.h402 …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/
DIPACM_Wan.h93 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/
DIPACM_Wan.cpp57 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 …]
DIPACM_Wlan.cpp293 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 …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_IfaceManager.cpp437 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()
DIPACM_Lan.cpp198 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 …]
DAndroid.mk48 IPACM_Wan.cpp \
DIPACM_ConntrackListener.cpp702 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp295 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()
586 if (IPACM_Wan::backhaul_mode == Q6_WAN) /* LTE */ in event_callback()
[all …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_IfaceManager.cpp443 IPACM_Wan *w; in create_iface_instance()
446 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, param->mac_addr); in create_iface_instance()
458 w = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
517 IPACM_Wan *embms = new IPACM_Wan(ipa_interface_index, is_sta_mode, NULL); in create_iface_instance()
DIPACM_ConntrackListener.cpp725 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Wlan.cpp271 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 …]
DMakefile.am22 IPACM_Wan.cpp \
DIPACM_Lan.cpp191 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 …]
DAndroid.mk67 IPACM_Wan.cpp \
DIPACM_ConntrackListener.cpp711 if (rule->private_ip == IPACM_Wan::getWANIP()) in AddIface()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wan.h90 class IPACM_Wan : public IPACM_Iface
101 IPACM_Wan(int, ipacm_wan_iface_type, uint8_t *);
102 virtual ~IPACM_Wan();
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/
DAndroid.bp38 "src/IPACM_Wan.cpp",