Home
last modified time | relevance | path

Searched refs:IPACM_Iface (Results 1 – 25 of 36) sorted by relevance

12

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_IfaceManager.cpp83 IPACM_Iface::ipacmcfg->Init(); in event_callback()
87 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
94 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
96 IPACM_Iface::ipacmcfg->ipa_bridge_enable = true; in event_callback()
97 memcpy(IPACM_Iface::ipacmcfg->bridge_mac, in event_callback()
99 sizeof(IPACM_Iface::ipacmcfg->bridge_mac)); in event_callback()
101IPACM_Iface::ipacmcfg->bridge_mac[0], IPACM_Iface::ipacmcfg->bridge_mac[1], IPACM_Iface::ipacmcfg-… in event_callback()
102IPACM_Iface::ipacmcfg->bridge_mac[3], IPACM_Iface::ipacmcfg->bridge_mac[4], IPACM_Iface::ipacmcfg-… in event_callback()
107 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
114 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == EMBMS_IF) in event_callback()
[all …]
DIPACM_Iface.cpp55 const char *IPACM_Iface::DEVICE_NAME = "/dev/ipa";
56 IPACM_Routing IPACM_Iface::m_routing;
57 IPACM_Filtering IPACM_Iface::m_filtering;
58 IPACM_Header IPACM_Iface::m_header;
60 IPACM_Config *IPACM_Iface::ipacmcfg = IPACM_Config::GetInstance();
62 IPACM_Iface::IPACM_Iface(int iface_index) in IPACM_Iface() function in IPACM_Iface
68 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()
91 int IPACM_Iface::handle_software_routing_enable(bool mhip) in handle_software_routing_enable()
[all …]
DIPACM_Wan.cpp100 uint8_t *mac_addr) : IPACM_Iface(iface_index) in IPACM_Wan()
252 if(IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == EMBMS_IF) in IPACM_Wan()
257 …if(IPACM_Iface::ipacmcfg->GetIPAVer() >= IPA_HW_None && IPACM_Iface::ipacmcfg->GetIPAVer() < IPA_H… in IPACM_Wan()
263 …IPACMDBG_H("depend Got pipe %d rm index : %d \n", tx_prop->tx[0].dst_pipe, IPACM_Iface::ipacmcfg->… in IPACM_Wan()
264IPACM_Iface::ipacmcfg->AddRmDepend(IPACM_Iface::ipacmcfg->ipa_client_rm_map_tbl[tx_prop->tx[0].dst… in IPACM_Wan()
337 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_v6.name, sizeof(rt_rule->rt_tbl_name)); in handle_addr_evt()
354 if (IPACM_Iface::ipacmcfg->isIPAv3Supported()) in handle_addr_evt()
387 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_wan_v6.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt()
476 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_wan_v6.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt()
511 IPACM_Iface::ipacmcfg->AddNatIfaces(dev_name, IPA_IP_v6); in handle_addr_evt()
[all …]
DIPACM_Lan.cpp60 IPACM_Lan::IPACM_Lan(int iface_index) : IPACM_Iface(iface_index) in IPACM_Lan()
143 m_fd_odu = open(IPACM_Iface::ipacmcfg->DEVICE_NAME_ODU, O_RDWR); in IPACM_Lan()
146 IPACMERR("Failed opening %s.\n", IPACM_Iface::ipacmcfg->DEVICE_NAME_ODU); in IPACM_Lan()
150 if(IPACM_Iface::ipacmcfg->ipacm_odu_router_mode == true) in IPACM_Lan()
153 IPACM_Iface::ipacmcfg->ipacm_odu_enable = true; in IPACM_Lan()
158 IPACM_Iface::ipacmcfg->ipacm_odu_enable = true; in IPACM_Lan()
165 IPACMDBG("Tell odu-driver in router-mode(%d)\n", IPACM_Iface::ipacmcfg->ipacm_odu_router_mode); in IPACM_Lan()
166 …IPACMDBG_H("odu is up: odu-driver in router-mode(%d) \n", IPACM_Iface::ipacmcfg->ipacm_odu_router_… in IPACM_Lan()
252 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback()
260 if ( IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat != ipa_if_cate) in event_callback()
[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()
171 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback()
208 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ip… in event_callback()
209 if (IPACM_Iface::ipacmcfg->isEthBridgingSupported()) in event_callback()
266 info->addr_mask = IPACM_Iface::ipacmcfg->private_subnet_table[0].subnet_mask; in event_callback()
301 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
324 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v6); in event_callback()
350 if (IPACM_Iface::ipacmcfg->ipa_sw_rt_enable == true) in event_callback()
[all …]
DIPACM_Neighbor.cpp73 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
105 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
142 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
171 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
191 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) == 0) in event_callback()
218 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
369 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) == 0) in event_callback()
393 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
446 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) != 0) in event_callback()
526 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) != 0) in event_callback()
DIPACM_CmdQueue.cpp158 eventName = IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event); in Process()
168 eventName = IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event); in Process()
DIPACM_Main.cpp658 if (IPACM_Iface::ipacmcfg->isMCC_Mode == true) in ipa_driver_msg_notifier()
660 IPACM_Iface::ipacmcfg->isMCC_Mode = false; in ipa_driver_msg_notifier()
670 if (IPACM_Iface::ipacmcfg->isMCC_Mode == false) in ipa_driver_msg_notifier()
672 IPACM_Iface::ipacmcfg->isMCC_Mode = true; in ipa_driver_msg_notifier()
771 if (IPACM_Iface::ipacmcfg->GetIPAVer() != IPA_HW_v4_9) in ipa_driver_msg_notifier()
939 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = true; in IPACM_Sig_Handler()
945 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = false; in IPACM_Sig_Handler()
993 if (IPACM_Iface::ipacmcfg->isEthBridgingSupported()) in main()
1242 IPACM_Iface::ipacmcfg->hw_fnr_stats_support = true; in ipa_reset_hw_index_counter()
1243 IPACM_Iface::ipacmcfg->hw_counter_offset = fnr_counters.hw_counter.start_id; in ipa_reset_hw_index_counter()
[all …]
DIPACM_OffloadManager.cpp256 if (prefix.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(downstream_name, IPA_IP_v4)) in addDownstream()
258 if (prefix.fam == V6 && IPACM_Iface::ipacmcfg->CheckNatIfaces(downstream_name, IPA_IP_v6)) in addDownstream()
433 if (gw_addr_v4.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(upstream_name, IPA_IP_v4)) in setUpstream()
435 if (gw_addr_v6.fam == V6 && IPACM_Iface::ipacmcfg->CheckNatIfaces(upstream_name, IPA_IP_v6)) in setUpstream()
827 …if (event_cache[i].prefix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].… in search_framwork_cache()
829 …if (event_cache[i].prefix_cache.fam == V6 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].… in search_framwork_cache()
840 …if (event_cache[i].prefix_cache.fam == V4 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[i].… in search_framwork_cache()
842 …if (event_cache[i].prefix_cache_v6.fam == V6 && IPACM_Iface::ipacmcfg->CheckNatIfaces(event_cache[… in search_framwork_cache()
DMakefile.am20 IPACM_Iface.cpp \
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_IfaceManager.cpp83 IPACM_Iface::ipacmcfg->Init(); in event_callback()
87 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
94 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
96 IPACM_Iface::ipacmcfg->ipa_bridge_enable = true; in event_callback()
97 memcpy(IPACM_Iface::ipacmcfg->bridge_mac, in event_callback()
99 sizeof(IPACM_Iface::ipacmcfg->bridge_mac)); in event_callback()
101IPACM_Iface::ipacmcfg->bridge_mac[0], IPACM_Iface::ipacmcfg->bridge_mac[1], IPACM_Iface::ipacmcfg-… in event_callback()
102IPACM_Iface::ipacmcfg->bridge_mac[3], IPACM_Iface::ipacmcfg->bridge_mac[4], IPACM_Iface::ipacmcfg-… in event_callback()
107 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
114 if(IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].if_cat == EMBMS_IF) in event_callback()
[all …]
DIPACM_Iface.cpp55 const char *IPACM_Iface::DEVICE_NAME = "/dev/ipa";
56 IPACM_Routing IPACM_Iface::m_routing;
57 IPACM_Filtering IPACM_Iface::m_filtering;
58 IPACM_Header IPACM_Iface::m_header;
60 IPACM_Config *IPACM_Iface::ipacmcfg = IPACM_Config::GetInstance();
62 IPACM_Iface::IPACM_Iface(int iface_index) in IPACM_Iface() function in IPACM_Iface
68 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()
91 int IPACM_Iface::handle_software_routing_enable(void) in handle_software_routing_enable()
[all …]
DIPACM_Neighbor.cpp73 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
105 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
139 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
146 IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name); in event_callback()
168 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
186 …if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, IPACM_Iface::ipacmcfg->iface_table[ipa_i… in event_callback()
212 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); 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()
[all …]
DIPACM_Lan.cpp60 IPACM_Lan::IPACM_Lan(int iface_index) : IPACM_Iface(iface_index) in IPACM_Lan()
137 m_fd_odu = open(IPACM_Iface::ipacmcfg->DEVICE_NAME_ODU, O_RDWR); in IPACM_Lan()
140 IPACMERR("Failed opening %s.\n", IPACM_Iface::ipacmcfg->DEVICE_NAME_ODU); in IPACM_Lan()
144 if(IPACM_Iface::ipacmcfg->ipacm_odu_router_mode == true) in IPACM_Lan()
147 IPACM_Iface::ipacmcfg->ipacm_odu_enable = true; in IPACM_Lan()
152 IPACM_Iface::ipacmcfg->ipacm_odu_enable = true; in IPACM_Lan()
159 IPACMDBG("Tell odu-driver in router-mode(%d)\n", IPACM_Iface::ipacmcfg->ipacm_odu_router_mode); in IPACM_Lan()
160 …IPACMDBG_H("odu is up: odu-driver in router-mode(%d) \n", IPACM_Iface::ipacmcfg->ipacm_odu_router_… in IPACM_Lan()
237 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback()
245 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()
165 IPACM_Iface::ipacmcfg->DelNatIfaces(dev_name); // delete NAT-iface in event_callback()
203 …IPACMDBG_H("ipa_WLAN (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table[ip… in event_callback()
246 info->addr_mask = IPACM_Iface::ipacmcfg->private_subnet_table[0].subnet_mask; in event_callback()
277 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
300 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v6); in event_callback()
314 if (IPACM_Iface::ipacmcfg->ipa_sw_rt_enable == true) 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()
[all …]
DIPACM_Wan.cpp91 uint8_t *mac_addr) : IPACM_Iface(iface_index) in IPACM_Wan()
170 if(IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat == EMBMS_IF) in IPACM_Wan()
179 …IPACMDBG_H("depend Got pipe %d rm index : %d \n", tx_prop->tx[0].dst_pipe, IPACM_Iface::ipacmcfg->… in IPACM_Wan()
180IPACM_Iface::ipacmcfg->AddRmDepend(IPACM_Iface::ipacmcfg->ipa_client_rm_map_tbl[tx_prop->tx[0].dst… in IPACM_Wan()
250 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_v6.name, sizeof(rt_rule->rt_tbl_name)); in handle_addr_evt()
304 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_wan_v6.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt()
391 IPACM_Iface::ipacmcfg->increaseFltRuleCount(rx_prop->rx[0].src_pipe, IPA_IP_v6, 1); in handle_addr_evt()
463 …strlcpy(rt_rule->rt_tbl_name, IPACM_Iface::ipacmcfg->rt_tbl_lan_v4.name, sizeof(rt_rule->rt_tbl_na… in handle_addr_evt()
546 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].if_cat = UNKNOWN_IF; in event_callback()
547 …IPACMDBG_H("IPA_WAN_STA (%s):ipa_index (%d) instance close \n", IPACM_Iface::ipacmcfg->iface_table… in event_callback()
[all …]
DIPACM_CmdQueue.cpp158 IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event)); in Process()
164 IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event)); in Process()
DMakefile.am20 IPACM_Iface.cpp \
DIPACM_Main.cpp604 if (IPACM_Iface::ipacmcfg->isMCC_Mode == true) in ipa_driver_msg_notifier()
606 IPACM_Iface::ipacmcfg->isMCC_Mode = false; in ipa_driver_msg_notifier()
615 if (IPACM_Iface::ipacmcfg->isMCC_Mode == false) in ipa_driver_msg_notifier()
617 IPACM_Iface::ipacmcfg->isMCC_Mode = true; in ipa_driver_msg_notifier()
754 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = true; in IPACM_Sig_Handler()
760 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = false; in IPACM_Sig_Handler()
DIPACM_ConntrackClient.cpp177 if(strlen(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name) >= sizeof(ifr.ifr_name)) in IPA_Conntrack_Filters_Ignore_Bridge_Addrs()
180 strlen(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name)); in IPA_Conntrack_Filters_Ignore_Bridge_Addrs()
188 (void)strlcpy(ifr.ifr_name, IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, sizeof(ifr.ifr_name)); in IPA_Conntrack_Filters_Ignore_Bridge_Addrs()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Iface.h73 class IPACM_Iface :public IPACM_Listener
115 IPACM_Iface(int iface_index);
DIPACM_Wan.h90 class IPACM_Wan : public IPACM_Iface
119 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()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Iface.h73 class IPACM_Iface :public IPACM_Listener
115 IPACM_Iface(int iface_index);
DIPACM_Wan.h100 class IPACM_Wan : public IPACM_Iface
133 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP()
178 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in isWanUP_V6()
203 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
228 IPACM_Iface::ipacmcfg->iface_table[ipa_if_num_tether].iface_name); in delete_tether_iface()
295 IPACM_Iface::ipacmcfg->DelExtProp(IPA_IP_v4); in clearExtProp()
296 IPACM_Iface::ipacmcfg->DelExtProp(IPA_IP_v6); in clearExtProp()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/
DAndroid.bp35 "src/IPACM_Iface.cpp",

12