Home
last modified time | relevance | path

Searched refs:iptype (Results 1 – 25 of 47) sorted by relevance

12

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Lan.h124 virtual int handle_wan_up_ex(ipacm_ext_prop* ext_prop, ipa_ip_type iptype, uint8_t xlat_mux_id);
133 virtual int handle_private_subnet(ipa_ip_type iptype);
145 …virtual int handle_uplink_filter_rule(ipacm_ext_prop* prop, ipa_ip_type iptype, uint8_t xlat_mux_i…
157 …ipa_hdr_l2_type peer_l2_hdr_type, ipa_ip_type iptype, uint32_t *rt_rule_hdl, int *rt_rule_count, i…
161 ipa_hdr_l2_type peer_l2_hdr_type, ipa_ip_type iptype, uint32_t *rt_rule_hdl, int rt_rule_count);
164 …int eth_bridge_add_flt_rule(uint8_t *mac, uint32_t rt_tbl_hdl, ipa_ip_type iptype, uint32_t *flt_r…
167 int eth_bridge_del_flt_rule(uint32_t flt_rule_hdl, ipa_ip_type iptype);
170 int eth_bridge_del_rt_rule(uint32_t rt_rule_hdl, ipa_ip_type iptype);
177 int add_l2tp_rt_rule(ipa_ip_type iptype, uint8_t *dst_mac, ipa_hdr_l2_type peer_l2_hdr_type,
183 …int del_l2tp_rt_rule(ipa_ip_type iptype, uint32_t first_pass_hdr_hdl, uint32_t first_pass_hdr_proc…
[all …]
DIPACM_Wan.h145 static uint16_t queryMTU(int ipa_if_num_tether, enum ipa_ip_type iptype) in queryMTU() argument
147 if (iptype == IPA_IP_v4) in queryMTU()
154 else if (iptype == IPA_IP_v6) in queryMTU()
191 static int delete_tether_iface(ipa_ip_type iptype, int ipa_if_num_tether) in delete_tether_iface() argument
195 if (iptype == IPA_IP_v4) in delete_tether_iface()
531 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument
537 if(iptype == IPA_IP_v4) in delete_wan_rtrules()
560 if(iptype == IPA_IP_v6) in delete_wan_rtrules()
598 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
610 int handle_route_add_evt(ipa_ip_type iptype, bool add_only = false);
[all …]
DIPACM_Iface.h130 virtual int init_fl_rule(ipa_ip_type iptype);
133 void config_ip_type(ipa_ip_type iptype);
142 void change_to_network_order(ipa_ip_type iptype, ipa_rule_attrib* attrib);
DIPACM_Defs.h269 enum ipa_ip_type iptype; member
287 ipa_ip_type iptype; member
295 enum ipa_ip_type iptype; member
316 enum ipa_ip_type iptype; member
326 enum ipa_ip_type iptype; member
402 enum ipa_ip_type iptype; member
DIPACM_Config.h160 inline void increaseFltRuleCount(int index, ipa_ip_type iptype, int increment) in increaseFltRuleCount() argument
167 if(iptype == IPA_IP_v4) in increaseFltRuleCount()
180 inline void decreaseFltRuleCount(int index, ipa_ip_type iptype, int decrement) in decreaseFltRuleCount() argument
187 if(iptype == IPA_IP_v4) in decreaseFltRuleCount()
200 inline int getFltRuleCount(int index, ipa_ip_type iptype) in getFltRuleCount() argument
207 if(iptype == IPA_IP_v4) in getFltRuleCount()
DIPACM_Wlan.h153 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument
159 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
182 if(iptype == IPA_IP_v6) in delete_default_qos_rtrules()
239 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
251 int handle_wlan_client_reset_rt(ipa_ip_type iptype);
DIPACM_LanToLan.h131 void add_all_inter_interface_client_flt_rule(ipa_ip_type iptype);
133 void add_all_intra_interface_client_flt_rule(ipa_ip_type iptype);
152 bool get_m_is_ip_addr_assigned(ipa_ip_type iptype);
154 void set_m_is_ip_addr_assigned(ipa_ip_type iptype, bool value);
195 void add_client_flt_rule(peer_iface_info *peer, client_info *client, ipa_ip_type iptype);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Lan.h121 virtual int handle_wan_up_ex(ipacm_ext_prop* ext_prop, ipa_ip_type iptype, uint8_t xlat_mux_id);
130 virtual int handle_private_subnet(ipa_ip_type iptype);
142 …virtual int handle_uplink_filter_rule(ipacm_ext_prop* prop, ipa_ip_type iptype, uint8_t xlat_mux_i…
154 ipa_hdr_l2_type peer_l2_hdr_type, ipa_ip_type iptype, uint32_t *rt_rule_hdl, int *rt_rule_count);
158 ipa_hdr_l2_type peer_l2_hdr_type, ipa_ip_type iptype, uint32_t *rt_rule_hdl, int rt_rule_count);
161 …int eth_bridge_add_flt_rule(uint8_t *mac, uint32_t rt_tbl_hdl, ipa_ip_type iptype, uint32_t *flt_r…
164 int eth_bridge_del_flt_rule(uint32_t flt_rule_hdl, ipa_ip_type iptype);
167 int eth_bridge_del_rt_rule(uint32_t rt_rule_hdl, ipa_ip_type iptype);
181 void eth_bridge_post_event(ipa_cm_event_id evt, ipa_ip_type iptype, uint8_t *mac);
185 virtual int add_dummy_private_subnet_flt_rule(ipa_ip_type iptype);
[all …]
DIPACM_Wan.h368 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument
374 if(iptype == IPA_IP_v4) in delete_wan_rtrules()
397 if(iptype == IPA_IP_v6) in delete_wan_rtrules()
435 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
441 int handle_route_add_evt(ipa_ip_type iptype);
450 int post_wan_up_tether_evt(ipa_ip_type iptype, int ipa_if_num_tether);
452 int post_wan_down_tether_evt(ipa_ip_type iptype, int ipa_if_num_tether);
454 int config_dft_firewall_rules(ipa_ip_type iptype);
459 int handle_route_del_evt(ipa_ip_type iptype);
461 int del_dft_firewall_rules(ipa_ip_type iptype);
[all …]
DIPACM_LanToLan.h91 void add_all_inter_interface_client_flt_rule(ipa_ip_type iptype);
93 void add_all_intra_interface_client_flt_rule(ipa_ip_type iptype);
112 bool get_m_is_ip_addr_assigned(ipa_ip_type iptype);
114 void set_m_is_ip_addr_assigned(ipa_ip_type iptype, bool value);
143 void add_client_flt_rule(peer_iface_info *peer, client_info *client, ipa_ip_type iptype);
DIPACM_Defs.h247 enum ipa_ip_type iptype; member
264 ipa_ip_type iptype; member
270 enum ipa_ip_type iptype; member
291 enum ipa_ip_type iptype; member
301 enum ipa_ip_type iptype; member
357 enum ipa_ip_type iptype; member
DIPACM_Config.h153 inline void increaseFltRuleCount(int index, ipa_ip_type iptype, int increment) in increaseFltRuleCount() argument
160 if(iptype == IPA_IP_v4) in increaseFltRuleCount()
173 inline void decreaseFltRuleCount(int index, ipa_ip_type iptype, int decrement) in decreaseFltRuleCount() argument
180 if(iptype == IPA_IP_v4) in decreaseFltRuleCount()
193 inline int getFltRuleCount(int index, ipa_ip_type iptype) in getFltRuleCount() argument
200 if(iptype == IPA_IP_v4) in getFltRuleCount()
DIPACM_Wlan.h149 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument
155 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
178 if(iptype == IPA_IP_v6) in delete_default_qos_rtrules()
221 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
233 int handle_wlan_client_reset_rt(ipa_ip_type iptype);
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wan.h160 static int delete_tether_iface(ipa_ip_type iptype, int ipa_if_num_tether) in delete_tether_iface() argument
164 if (iptype == IPA_IP_v4) in delete_tether_iface()
429 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument
435 if(iptype == IPA_IP_v4) in delete_wan_rtrules()
458 if(iptype == IPA_IP_v6) in delete_wan_rtrules()
496 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
502 int handle_route_add_evt(ipa_ip_type iptype);
511 int post_wan_up_tether_evt(ipa_ip_type iptype, int ipa_if_num_tether);
513 int post_wan_down_tether_evt(ipa_ip_type iptype, int ipa_if_num_tether);
515 int config_dft_firewall_rules(ipa_ip_type iptype);
[all …]
DIPACM_Defs.h257 enum ipa_ip_type iptype; member
275 ipa_ip_type iptype; member
282 enum ipa_ip_type iptype; member
303 enum ipa_ip_type iptype; member
313 enum ipa_ip_type iptype; member
371 enum ipa_ip_type iptype; member
DIPACM_Wlan.h149 inline int delete_default_qos_rtrules(int clt_indx, ipa_ip_type iptype) in delete_default_qos_rtrules() argument
155 if(iptype == IPA_IP_v4) in delete_default_qos_rtrules()
178 if(iptype == IPA_IP_v6) in delete_default_qos_rtrules()
221 int handle_wlan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype);
233 int handle_wlan_client_reset_rt(ipa_ip_type iptype);
DIPACM_LanToLan.h131 void add_all_inter_interface_client_flt_rule(ipa_ip_type iptype);
133 void add_all_intra_interface_client_flt_rule(ipa_ip_type iptype);
152 bool get_m_is_ip_addr_assigned(ipa_ip_type iptype);
154 void set_m_is_ip_addr_assigned(ipa_ip_type iptype, bool value);
195 void add_client_flt_rule(peer_iface_info *peer, client_info *client, ipa_ip_type iptype);
DIPACM_Iface.h130 virtual int init_fl_rule(ipa_ip_type iptype);
133 void config_ip_type(ipa_ip_type iptype);
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp233 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
234 (data->iptype == IPA_IP_v6 && in event_callback()
245 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback()
246 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback()
248 IPACMDBG_H("Got IPA_ADDR_ADD_EVENT ip-family:%d, v6 num %d: \n",data->iptype,num_dft_rt_v6); in event_callback()
250 if (data->iptype == IPA_IP_v4) in event_callback()
286 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
287 handle_private_subnet_android(data->iptype); in event_callback()
289 handle_private_subnet(data->iptype); in event_callback()
295 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
[all …]
DIPACM_Wan.cpp221 config_ip_type(data->iptype); in handle_addr_evt()
223 if (data->iptype == IPA_IP_v6) in handle_addr_evt()
249 rt_rule->ip = data->iptype; in handle_addr_evt()
331 init_fl_rule_ex(data->iptype); in handle_addr_evt()
335 init_fl_rule(data->iptype); in handle_addr_evt()
442 rt_rule->ip = data->iptype; in handle_addr_evt()
494 init_fl_rule_ex(data->iptype); in handle_addr_evt()
498 init_fl_rule(data->iptype); in handle_addr_evt()
697 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
698 (data->iptype == IPA_IP_v6 && in event_callback()
[all …]
DIPACM_Lan.cpp369 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
370 (data->iptype == IPA_IP_v6 && in event_callback()
378 …if(data->iptype == IPA_IP_v6 && is_vlan_event(data->iface_name) && is_unique_local_ipv6_addr(data-… in event_callback()
381 eth_bridge_post_event(IPA_HANDLE_VLAN_IFACE_INFO, data->iptype, NULL, in event_callback()
393 if((data->iptype == IPA_IP_v6) && (num_dft_rt_v6 == 0)) in event_callback()
398 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
399 handle_private_subnet_android(data->iptype); in event_callback()
401 handle_private_subnet(data->iptype); in event_callback()
408 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback()
409 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Wlan.cpp214 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
215 (data->iptype == IPA_IP_v6 && in event_callback()
226 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback()
227 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback()
229 IPACMDBG_H("Got IPA_ADDR_ADD_EVENT ip-family:%d, v6 num %d: \n",data->iptype,num_dft_rt_v6); in event_callback()
231 if (data->iptype == IPA_IP_v4) in event_callback()
264 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
265 handle_private_subnet_android(data->iptype); in event_callback()
267 handle_private_subnet(data->iptype); in event_callback()
273 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
[all …]
DIPACM_Lan.cpp339 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
340 (data->iptype == IPA_IP_v6 && in event_callback()
357 if((data->iptype == IPA_IP_v6) && (num_dft_rt_v6 == 0)) in event_callback()
362 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
363 handle_private_subnet_android(data->iptype); in event_callback()
365 handle_private_subnet(data->iptype); in event_callback()
372 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback()
373 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback()
375 IPACMDBG_H("Got IPA_ADDR_ADD_EVENT ip-family:%d, v6 num %d: \n",data->iptype,num_dft_rt_v6); in event_callback()
382 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
[all …]
DIPACM_LanToLan.cpp151 IPACMDBG_H("Interface name: %s IP type: %d\n", data->p_iface->dev_name, data->iptype); in handle_iface_up()
157 if(it->get_m_is_ip_addr_assigned(data->iptype) == false) in handle_iface_up()
159 IPACMDBG_H("IP type %d was not active before, activating it now.\n", data->iptype); in handle_iface_up()
160 it->set_m_is_ip_addr_assigned(data->iptype, true); in handle_iface_up()
164 it->add_all_inter_interface_client_flt_rule(data->iptype); in handle_iface_up()
168 it->add_all_intra_interface_client_flt_rule(data->iptype); in handle_iface_up()
196 new_iface.set_m_is_ip_addr_assigned(data->iptype, true); in handle_iface_up()
220 front_iface.add_all_inter_interface_client_flt_rule(data->iptype); in handle_iface_up()
527 void IPACM_LanToLan_Iface::add_all_inter_interface_client_flt_rule(ipa_ip_type iptype) in add_all_inter_interface_client_flt_rule() argument
537 add_client_flt_rule(&(*it_iface), &(*it_client), iptype); in add_all_inter_interface_client_flt_rule()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Wlan.cpp234 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback()
235 (data->iptype == IPA_IP_v6 && in event_callback()
246 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback()
247 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback()
249 IPACMDBG_H("Got IPA_ADDR_ADD_EVENT ip-family:%d, v6 num %d: \n",data->iptype,num_dft_rt_v6); in event_callback()
251 if (data->iptype == IPA_IP_v4) in event_callback()
288 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback()
289 handle_private_subnet_android(data->iptype); in event_callback()
291 handle_private_subnet(data->iptype); in event_callback()
297 if(data->iptype == IPA_IP_v4 || data->iptype == IPA_IP_MAX) in event_callback()
[all …]

12