Home
last modified time | relevance | path

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

/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);
DIPACM_Iface.h130 virtual int init_fl_rule(ipa_ip_type iptype);
133 void config_ip_type(ipa_ip_type iptype);
DIPACM_OffloadManager.h107 …int post_route_evt(enum ipa_ip_type iptype, int index, ipa_cm_event_id event, const Prefix &gw_add…
/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_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.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 …]
DIPACM_Netlink.cpp833 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()
843 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()
922 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()
986 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()
1015 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()
1098 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()
1137 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()
1187 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()
1246 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()
1259 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()
[all …]
DIPACM_Iface.cpp451 data_addr->iptype = IPA_IP_v4; in iface_addr_query()
476 data_addr->iptype = IPA_IP_v6; in iface_addr_query()
631 int IPACM_Iface::init_fl_rule(ipa_ip_type iptype) in init_fl_rule() argument
680 if (iptype == IPA_IP_v4) in init_fl_rule()
695 m_pFilteringTable->ip = iptype; in init_fl_rule()
779 m_pFilteringTable->ip = iptype; in init_fl_rule()
966 void IPACM_Iface::config_ip_type(ipa_ip_type iptype) in config_ip_type() argument
969 if (iptype == IPA_IP_v4) in config_ip_type()
DIPACM_OffloadManager.cpp582 int IPACM_OffloadManager::post_route_evt(enum ipa_ip_type iptype, int index, ipa_cm_event_id event,… in post_route_evt() argument
597 evt_data_route->iptype = iptype; in post_route_evt()
610 evt_data_route->if_index_tether, evt_data_route->iptype); in post_route_evt()
DIPACM_Main.cpp427 new_neigh_data->iptype = IPA_IP_v6; in ipa_driver_msg_notifier()
551 data_iptype->iptype = event_wan.ip; in ipa_driver_msg_notifier()
563 data_iptype->if_index_tether, data_iptype->iptype); in ipa_driver_msg_notifier()
578 data_iptype->iptype = event_wan.ip; in ipa_driver_msg_notifier()
579 …ceived WAN_UPSTREAM_ROUTE_DEL: fid(%d) ip-type(%d)\n", data_iptype->if_index, data_iptype->iptype); in ipa_driver_msg_notifier()
DIPACM_Neighbor.cpp130 data_all->iptype = IPA_IP_v4; in event_callback()
174 if (data->iptype == IPA_IP_v4) in event_callback()
461 data_all->iptype = IPA_IP_v4; in event_callback()
DIPACM_ConntrackListener.cpp149 if (data->ipv4_addr == 0 || data->iptype != IPA_IP_v4) in CheckNatIface()
155 IPACMDBG("Received interface index %d with ip type: %d", data->if_index, data->iptype); in CheckNatIface()
624 lan2lan_conn.iptype = IPA_IP_v6; in ProcessCTV6Message()
979 lan2lan_conn.iptype = IPA_IP_v4; in HandleLan2Lan()