Home
last modified time | relevance | path

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

12

/hardware/qcom/sdm845/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(void) in handle_software_routing_enable()
[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()
265 info->addr_mask = IPACM_Iface::ipacmcfg->private_subnet_table[0].subnet_mask; in event_callback()
299 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v4); in event_callback()
322 ext_prop = IPACM_Iface::ipacmcfg->GetExtProp(IPA_IP_v6); in event_callback()
348 if (IPACM_Iface::ipacmcfg->ipa_sw_rt_enable == true) 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()
[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_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_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()
391 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
444 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) != 0) in event_callback()
524 if (strcmp(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name, data->iface_name) != 0) in event_callback()
DIPACM_CmdQueue.cpp159 IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event)); in Process()
164 eventName = IPACM_Iface::ipacmcfg->getEventName(item->evt.data.event); in Process()
DMakefile.am20 IPACM_Iface.cpp \
DIPACM_Main.cpp613 if (IPACM_Iface::ipacmcfg->isMCC_Mode == true) in ipa_driver_msg_notifier()
615 IPACM_Iface::ipacmcfg->isMCC_Mode = false; in ipa_driver_msg_notifier()
625 if (IPACM_Iface::ipacmcfg->isMCC_Mode == false) in ipa_driver_msg_notifier()
627 IPACM_Iface::ipacmcfg->isMCC_Mode = true; in ipa_driver_msg_notifier()
824 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = true; in IPACM_Sig_Handler()
830 IPACM_Iface::ipacmcfg->ipa_sw_rt_enable = false; in IPACM_Sig_Handler()
DIPACM_ConntrackClient.cpp181 if(strlen(IPACM_Iface::ipacmcfg->ipa_virtual_iface_name) >= sizeof(ifr.ifr_name)) in IPA_Conntrack_Filters_Ignore_Bridge_Addrs()
184 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()
DAndroid.mk46 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/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Iface.h73 class IPACM_Iface :public IPACM_Listener
115 IPACM_Iface(int iface_index);
DIPACM_Wan.h93 class IPACM_Wan : public IPACM_Iface
121 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()
/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()

12