/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Lan.h | 124 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 …]
|
D | IPACM_Wan.h | 142 static uint16_t queryMTU(int ipa_if_num_tether, enum ipa_ip_type iptype) in queryMTU() argument 144 if (iptype == IPA_IP_v4) in queryMTU() 151 else if (iptype == IPA_IP_v6) in queryMTU() 189 static int delete_tether_iface(ipa_ip_type iptype, int ipa_if_num_tether) in delete_tether_iface() argument 193 if (iptype == IPA_IP_v4) in delete_tether_iface() 521 inline int delete_wan_rtrules(int clt_indx, ipa_ip_type iptype) in delete_wan_rtrules() argument 527 if(iptype == IPA_IP_v4) in delete_wan_rtrules() 550 if(iptype == IPA_IP_v6) in delete_wan_rtrules() 588 int handle_wan_client_route_rule(uint8_t *mac_addr, ipa_ip_type iptype); 597 int handle_route_add_evt(ipa_ip_type iptype); [all …]
|
D | IPACM_Defs.h | 260 enum ipa_ip_type iptype; member 278 ipa_ip_type iptype; member 286 enum ipa_ip_type iptype; member 307 enum ipa_ip_type iptype; member 317 enum ipa_ip_type iptype; member 393 enum ipa_ip_type iptype; member
|
D | IPACM_Iface.h | 130 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);
|
D | IPACM_Config.h | 160 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()
|
D | IPACM_Wlan.h | 153 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);
|
D | IPACM_LanToLan.h | 131 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/ |
D | IPACM_Lan.h | 121 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 …]
|
D | IPACM_Wan.h | 368 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 …]
|
D | IPACM_LanToLan.h | 91 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);
|
D | IPACM_Defs.h | 247 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
|
D | IPACM_Config.h | 153 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()
|
D | IPACM_Wlan.h | 149 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/ |
D | IPACM_Wan.h | 160 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 …]
|
D | IPACM_Defs.h | 257 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
|
D | IPACM_Wlan.h | 149 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);
|
D | IPACM_LanToLan.h | 131 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/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wlan.cpp | 233 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 …]
|
D | IPACM_Wan.cpp | 221 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 …]
|
D | IPACM_Lan.cpp | 369 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/ |
D | IPACM_Wlan.cpp | 214 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 …]
|
D | IPACM_Lan.cpp | 339 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 …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Wlan.cpp | 234 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 …]
|
D | IPACM_Lan.cpp | 370 if ( (data->iptype == IPA_IP_v4 && data->ipv4_addr == 0) || in event_callback() 371 (data->iptype == IPA_IP_v6 && in event_callback() 379 …if(data->iptype == IPA_IP_v6 && is_vlan_event(data->iface_name) && is_unique_local_ipv6_addr(data-… in event_callback() 382 eth_bridge_post_event(IPA_HANDLE_VLAN_IFACE_INFO, data->iptype, NULL, in event_callback() 394 if((data->iptype == IPA_IP_v6) && (num_dft_rt_v6 == 0)) in event_callback() 399 add_dummy_private_subnet_flt_rule(data->iptype); in event_callback() 400 handle_private_subnet_android(data->iptype); in event_callback() 402 handle_private_subnet(data->iptype); in event_callback() 409 if( ((data->iptype != ip_type) && (ip_type != IPA_IP_MAX)) in event_callback() 410 || ((data->iptype==IPA_IP_v6) && (num_dft_rt_v6!=MAX_DEFAULT_v6_ROUTE_RULES))) in event_callback() [all …]
|
D | IPACM_Wan.cpp | 251 config_ip_type(data->iptype); in handle_addr_evt() 253 if (data->iptype == IPA_IP_v6) in handle_addr_evt() 279 rt_rule->ip = data->iptype; in handle_addr_evt() 450 init_fl_rule_ex(data->iptype); in handle_addr_evt() 459 init_fl_rule(data->iptype); in handle_addr_evt() 592 rt_rule->ip = data->iptype; in handle_addr_evt() 714 init_fl_rule_ex(data->iptype); in handle_addr_evt() 723 init_fl_rule(data->iptype); in handle_addr_evt() 777 config_ip_type(data->iptype); in handle_addr_evt_mhi_q6() 779 if (data->iptype == IPA_IP_v6) in handle_addr_evt_mhi_q6() [all …]
|