Home
last modified time | relevance | path

Searched refs:iface_query (Results 1 – 22 of 22) sorted by relevance

/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Iface.cpp70 iface_query = NULL; in IPACM_Iface()
518 iface_query = (struct ipa_ioc_query_intf *) in query_iface_property()
520 if(iface_query == NULL) in query_iface_property()
527 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property()
529 if (ioctl(fd, IPA_IOC_QUERY_INTF, iface_query) < 0) in query_iface_property()
536 if(iface_query->num_tx_props > 0) in query_iface_property()
540 iface_query->num_tx_props * sizeof(struct ipa_ioc_tx_intf_prop)); in query_iface_property()
548 tx_prop->num_tx_props = iface_query->num_tx_props; in query_iface_property()
587 if (iface_query->num_rx_props > 0) in query_iface_property()
591 iface_query->num_rx_props * sizeof(struct ipa_ioc_rx_intf_prop)); in query_iface_property()
[all …]
DIPACM_Wlan.cpp75 if (iface_query != NULL) in IPACM_Wlan()
77 free(iface_query); in IPACM_Wlan()
88 if(iface_query != NULL) in IPACM_Wlan()
90 …wlan_client_len = (sizeof(ipa_wlan_client)) + (iface_query->num_tx_props * sizeof(wlan_client_rt_h… in IPACM_Wlan()
97 IPACMDBG_H("index:%d constructor: Tx properties:%d\n", iface_index, iface_query->num_tx_props); in IPACM_Wlan()
1381 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_route_rule()
1455 rt_rule_entry->rule.dst = iface_query->excp_pipe; in handle_wlan_client_route_rule()
1672 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_down_evt()
1925 if (iface_query != NULL) in handle_down_evt()
1927 free(iface_query); in handle_down_evt()
[all …]
DIPACM_Lan.cpp92 if(iface_query != NULL) in IPACM_Lan()
96 …eth_client_len = (sizeof(ipa_eth_client)) + (iface_query->num_tx_props * sizeof(eth_client_rt_hdl)… in IPACM_Lan()
106 iface_query->num_tx_props, iface_query->num_rx_props); in IPACM_Lan()
111 odu_route_rule_v4_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
112 odu_route_rule_v6_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
166 if(iface_query != NULL && tx_prop != NULL) in IPACM_Lan()
168 for(i=0; i<iface_query->num_tx_props; i++) in IPACM_Lan()
1008 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_del_ipv6_addr()
2083 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_eth_client_route_rule()
2437 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_odu_route_add()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Iface.cpp70 iface_query = NULL; in IPACM_Iface()
524 iface_query = (struct ipa_ioc_query_intf *) in query_iface_property()
526 if(iface_query == NULL) in query_iface_property()
533 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property()
535 if (ioctl(fd, IPA_IOC_QUERY_INTF, iface_query) < 0) in query_iface_property()
542 if(iface_query->num_tx_props > 0) in query_iface_property()
546 iface_query->num_tx_props * sizeof(struct ipa_ioc_tx_intf_prop)); in query_iface_property()
554 tx_prop->num_tx_props = iface_query->num_tx_props; in query_iface_property()
593 if (iface_query->num_rx_props > 0) in query_iface_property()
597 iface_query->num_rx_props * sizeof(struct ipa_ioc_rx_intf_prop)); in query_iface_property()
[all …]
DIPACM_Wlan.cpp77 if (iface_query != NULL) in IPACM_Wlan()
79 free(iface_query); in IPACM_Wlan()
90 if(iface_query != NULL) in IPACM_Wlan()
92 …wlan_client_len = (sizeof(ipa_wlan_client)) + (iface_query->num_tx_props * sizeof(wlan_client_rt_h… in IPACM_Wlan()
99 IPACMDBG_H("index:%d constructor: Tx properties:%d\n", iface_index, iface_query->num_tx_props); in IPACM_Wlan()
218 if(iface_query != NULL) in event_callback()
220 free(iface_query); in event_callback()
1454 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_route_rule()
1531 rt_rule_entry->rule.dst = iface_query->excp_pipe; in handle_wlan_client_route_rule()
1748 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_down_evt()
[all …]
DIPACM_Wan.cpp101 if(iface_query != NULL) in IPACM_Wan()
103 wan_route_rule_v4_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
104 wan_route_rule_v6_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
105 wan_route_rule_v6_hdl_a5 = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
106 IPACMDBG_H("IPACM->IPACM_Wan(%d) constructor: Tx:%d\n", ipa_if_num, iface_query->num_tx_props); in IPACM_Wan()
140 if(iface_query != NULL) in IPACM_Wan()
142 …wan_client_len = (sizeof(ipa_wan_client)) + (iface_query->num_tx_props * sizeof(wan_client_rt_hdl)… in IPACM_Wan()
149 IPACMDBG_H("index:%d constructor: Tx properties:%d\n", iface_index, iface_query->num_tx_props); in IPACM_Wan()
1338 if (iface_query != NULL && iface_query->num_ext_props > 0) in handle_route_add_evt()
1427 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_route_add_evt()
[all …]
DIPACM_Lan.cpp98 if(iface_query != NULL) in IPACM_Lan()
102 …eth_client_len = (sizeof(ipa_eth_client)) + (iface_query->num_tx_props * sizeof(eth_client_rt_hdl)… in IPACM_Lan()
112 iface_query->num_tx_props, iface_query->num_rx_props); in IPACM_Lan()
117 odu_route_rule_v4_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
118 odu_route_rule_v6_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
172 if(iface_query != NULL && tx_prop != NULL) in IPACM_Lan()
174 for(i=0; i<iface_query->num_tx_props; i++) in IPACM_Lan()
354 if(iface_query != NULL) in event_callback()
356 free(iface_query); in event_callback()
1145 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_del_ipv6_addr()
[all …]
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Iface.cpp70 iface_query = NULL; in IPACM_Iface()
589 iface_query = (struct ipa_ioc_query_intf *) in query_iface_property()
591 if(iface_query == NULL) in query_iface_property()
598 memcpy(iface_query->name, dev_name, sizeof(dev_name)); in query_iface_property()
600 if (ioctl(fd, IPA_IOC_QUERY_INTF, iface_query) < 0) in query_iface_property()
607 if(iface_query->num_tx_props > 0) in query_iface_property()
611 iface_query->num_tx_props * sizeof(struct ipa_ioc_tx_intf_prop)); in query_iface_property()
619 tx_prop->num_tx_props = iface_query->num_tx_props; in query_iface_property()
658 if (iface_query->num_rx_props > 0) in query_iface_property()
662 iface_query->num_rx_props * sizeof(struct ipa_ioc_rx_intf_prop)); in query_iface_property()
[all …]
DIPACM_Wlan.cpp77 if (iface_query != NULL) in IPACM_Wlan()
79 free(iface_query); in IPACM_Wlan()
90 if(iface_query != NULL) in IPACM_Wlan()
92 …wlan_client_len = (sizeof(ipa_wlan_client)) + (iface_query->num_tx_props * sizeof(wlan_client_rt_h… in IPACM_Wlan()
99 IPACMDBG_H("index:%d constructor: Tx properties:%d\n", iface_index, iface_query->num_tx_props); in IPACM_Wlan()
219 if(iface_query != NULL) in event_callback()
221 free(iface_query); in event_callback()
1528 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_route_rule()
1625 rt_rule_entry->rule.dst = iface_query->excp_pipe; in handle_wlan_client_route_rule()
1871 for (tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_wlan_client_down_evt()
[all …]
DIPACM_Wan.cpp109 if(iface_query != NULL) in IPACM_Wan()
111 wan_route_rule_v4_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
112 wan_route_rule_v6_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
113 wan_route_rule_v6_hdl_a5 = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Wan()
114 IPACMDBG_H("IPACM->IPACM_Wan(%d) constructor: Tx:%d\n", ipa_if_num, iface_query->num_tx_props); in IPACM_Wan()
149 if(iface_query != NULL) in IPACM_Wan()
151 IPACMDBG_H("index:%d constructor: Tx properties:%d\n", iface_index, iface_query->num_tx_props); in IPACM_Wan()
157 …if ((iface_query->num_ext_props == 1) && ((ext_prop != NULL) && ext_prop->ext[0].ip == IPA_IP_MAX)) in IPACM_Wan()
176 …wan_client_len = (sizeof(ipa_wan_client)) + (iface_query->num_tx_props * sizeof(wan_client_rt_hdl)… in IPACM_Wan()
1828 if (iface_query != NULL && iface_query->num_ext_props > 0) in handle_route_add_evt()
[all …]
DIPACM_Lan.cpp98 if(iface_query != NULL) in IPACM_Lan()
102 …eth_client_len = (sizeof(ipa_eth_client)) + (iface_query->num_tx_props * sizeof(eth_client_rt_hdl)… in IPACM_Lan()
112 iface_query->num_tx_props, iface_query->num_rx_props); in IPACM_Lan()
117 odu_route_rule_v4_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
118 odu_route_rule_v6_hdl = (uint32_t *)calloc(iface_query->num_tx_props, sizeof(uint32_t)); in IPACM_Lan()
172 if(iface_query != NULL && tx_prop != NULL) in IPACM_Lan()
174 for(i=0; i<iface_query->num_tx_props; i++) in IPACM_Lan()
355 if(iface_query != NULL) in event_callback()
357 free(iface_query); in event_callback()
1181 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in handle_del_ipv6_addr()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Wlan.h157 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
180 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
DIPACM_Iface.h107 ipa_ioc_query_intf *iface_query; variable
DIPACM_Lan.h311 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_eth_rtrules()
334 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_eth_rtrules()
DIPACM_Wan.h376 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()
399 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h157 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
180 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
DIPACM_Iface.h107 ipa_ioc_query_intf *iface_query; variable
DIPACM_Wan.h437 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()
460 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
DIPACM_Wlan.h161 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
184 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_default_qos_rtrules()
DIPACM_Iface.h107 ipa_ioc_query_intf *iface_query; variable
DIPACM_Lan.h370 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_eth_rtrules()
393 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_eth_rtrules()
DIPACM_Wan.h529 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()
552 for(tx_index = 0; tx_index < iface_query->num_tx_props; tx_index++) in delete_wan_rtrules()