Home
last modified time | relevance | path

Searched refs:iface_table (Results 1 – 18 of 18) sorted by relevance

/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_IfaceManager.cpp94 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
114 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == EMBMS_IF) in event_callback()
116 …IPACMDBG("WAN-EMBMS (%s) link already up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
118 else if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == WAN_IF) in event_callback()
120 …IPACMDBG_H("WAN-LTE (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
136 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == WAN_IF) in event_callback()
139 …IPACMDBG_H("WAN-usb (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
160 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == UNKNOWN_IF) in event_callback()
162 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat = WLAN_IF; in event_callback()
163 …IPACMDBG_H("WLAN AP (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
[all …]
DIPACM_Config.cpp124 iface_table = NULL; in IPACM_Config()
207 if (iface_table != NULL) in Init()
209 free(iface_table); in Init()
210 iface_table = NULL; in Init()
213 iface_table = (ipa_ifi_dev_name_t *)calloc(ipa_num_ipa_interfaces, in Init()
215 if(iface_table == NULL) in Init()
224 …strlcpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init()
225 iface_table[i].if_cat = cfg->iface_config.iface_entries[i].if_cat; in Init()
226 iface_table[i].if_mode = cfg->iface_config.iface_entries[i].if_mode; in Init()
227 iface_table[i].wlan_mode = cfg->iface_config.iface_entries[i].wlan_mode; in Init()
[all …]
DIPACM_Iface.cpp68 ipa_if_cate = IPACM_Iface::ipacmcfg->iface_table[iface_index].if_cat; in IPACM_Iface()
75 IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name, in IPACM_Iface()
76 sizeof(IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name)); in IPACM_Iface()
102 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_enable()
249 …are_routing rule for (%s)iface ip-family %d\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].ifa… in handle_software_routing_disable()
325 if(IPACM_Iface::ipacmcfg->iface_table == NULL) in iface_ipa_index_query()
334 if (interface_index == IPACM_Iface::ipacmcfg->iface_table[i].netlink_interface_index) in iface_ipa_index_query()
338 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
339 IPACM_Iface::ipacmcfg->iface_table[i].netlink_interface_index, in iface_ipa_index_query()
370 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
[all …]
DIPACM_Wlan.cpp112 if (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].wlan_mode == INTERNET) in IPACM_Wlan()
117 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, m_is_guest_ap); in IPACM_Wlan()
170 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF; in event_callback()
208 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ip… in event_callback()
351 …IPACMDBG_H("IPA_SW_ROUTING_ENABLE for iface: %s \n",IPACM_Iface::ipacmcfg->iface_table[ipa_if_num]… in event_callback()
370 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
421 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
482 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
524 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
894 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, in event_callback()
[all …]
DIPACM_Wan.cpp170 if(IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == EMBMS_IF) in IPACM_Wan()
546 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF; in event_callback()
547 …WAN_STA (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].ifa… in event_callback()
565 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,data->if_index, is_xlat); in event_callback()
571 if ( (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == ipa_if_cate) && in event_callback()
575 …IPACMDBG_H("Now the cradle wan mode is %d.\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_m… in event_callback()
578 …if(backhaul_is_wan_bridge == false && IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode == BR… in event_callback()
583 …else if(backhaul_is_wan_bridge == true && IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode =… in event_callback()
607 data_wan_mode->cradle_wan_mode = IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode; in event_callback()
630 else if ( (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat != ipa_if_cate) && in event_callback()
[all …]
DIPACM_Neighbor.cpp105 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
DIPACM_Lan.cpp260 if ( IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat != ipa_if_cate) in event_callback()
305 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ipa… in event_callback()
513 …IPACMDBG_H("IPA_SW_ROUTING_ENABLE for iface: %s \n",IPACM_Iface::ipacmcfg->iface_table[ipa_if_num]… in event_callback()
533 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
623 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
677 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
714 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_IfaceManager.cpp94 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
114 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == EMBMS_IF) in event_callback()
116 …IPACMDBG("WAN-EMBMS (%s) link already up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
118 else if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == WAN_IF) in event_callback()
120 …IPACMDBG_H("WAN-LTE (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
136 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == WAN_IF) in event_callback()
139 …IPACMDBG_H("WAN-usb (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
160 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == UNKNOWN_IF) in event_callback()
162 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat = WLAN_IF; in event_callback()
163 …IPACMDBG_H("WLAN AP (%s) link up, iface: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface… in event_callback()
[all …]
DIPACM_Config.cpp115 iface_table = NULL; in IPACM_Config()
198 if (iface_table != NULL) in Init()
200 free(iface_table); in Init()
201 iface_table = NULL; in Init()
204 iface_table = (ipa_ifi_dev_name_t *)calloc(ipa_num_ipa_interfaces, in Init()
206 if(iface_table == NULL) in Init()
215 …strncpy(iface_table[i].iface_name, cfg->iface_config.iface_entries[i].iface_name, sizeof(iface_tab… in Init()
216 iface_table[i].if_cat = cfg->iface_config.iface_entries[i].if_cat; in Init()
217 iface_table[i].if_mode = cfg->iface_config.iface_entries[i].if_mode; in Init()
218 iface_table[i].wlan_mode = cfg->iface_config.iface_entries[i].wlan_mode; in Init()
[all …]
DIPACM_Neighbor.cpp105 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
146 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
186 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
220 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
245 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name, in event_callback()
347 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
358 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
387 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
411 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
433 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
[all …]
DIPACM_Iface.cpp68 ipa_if_cate = IPACM_Iface::ipacmcfg->iface_table[iface_index].if_cat; in IPACM_Iface()
75 IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name, in IPACM_Iface()
76 sizeof(IPACM_Iface::ipacmcfg->iface_table[iface_index].iface_name)); in IPACM_Iface()
102 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ip_type); in handle_software_routing_enable()
249 …are_routing rule for (%s)iface ip-family %d\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].ifa… in handle_software_routing_disable()
325 if(IPACM_Iface::ipacmcfg->iface_table == NULL) in iface_ipa_index_query()
334 if (interface_index == IPACM_Iface::ipacmcfg->iface_table[i].netlink_interface_index) in iface_ipa_index_query()
338 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
339 IPACM_Iface::ipacmcfg->iface_table[i].netlink_interface_index, in iface_ipa_index_query()
370 IPACM_Iface::ipacmcfg->iface_table[i].iface_name, in iface_ipa_index_query()
[all …]
DIPACM_Wan.cpp170 if(IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == EMBMS_IF) in IPACM_Wan()
546 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF; in event_callback()
547 …WAN_STA (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].ifa… in event_callback()
565 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,data->if_index, is_xlat); in event_callback()
571 if ( (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == ipa_if_cate) && in event_callback()
575 …IPACMDBG_H("Now the cradle wan mode is %d.\n", IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_m… in event_callback()
578 …if(backhaul_is_wan_bridge == false && IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode == BR… in event_callback()
583 …else if(backhaul_is_wan_bridge == true && IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode =… in event_callback()
607 data_wan_mode->cradle_wan_mode = IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_mode; in event_callback()
630 else if ( (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat != ipa_if_cate) && in event_callback()
[all …]
DIPACM_Wlan.cpp110 if (IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].wlan_mode == INTERNET) in IPACM_Wlan()
115 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, m_is_guest_ap); in IPACM_Wlan()
164 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF; in event_callback()
203 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ip… in event_callback()
317 …IPACMDBG_H("IPA_SW_ROUTING_ENABLE for iface: %s \n",IPACM_Iface::ipacmcfg->iface_table[ipa_if_num]… in event_callback()
336 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
386 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
447 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
489 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
852 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, in event_callback()
[all …]
DIPACM_Lan.cpp245 if ( IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat != ipa_if_cate) in event_callback()
290 …IPACMDBG_H("ipa_LAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ipa… in event_callback()
465 …IPACMDBG_H("IPA_SW_ROUTING_ENABLE for iface: %s \n",IPACM_Iface::ipacmcfg->iface_table[ipa_if_num]… in event_callback()
485 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
535 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
589 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
626 IPACM_Iface::ipacmcfg->iface_table[data_wan_tether->if_index_tether].iface_name); in event_callback()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h121 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP()
147 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP_V6()
172 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
197 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
DIPACM_Config.h91 ipa_ifi_dev_name_t *iface_table; variable
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wan.h119 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP()
145 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP_V6()
DIPACM_Config.h89 ipa_ifi_dev_name_t *iface_table; variable