Home
last modified time | relevance | path

Searched refs:if_index (Results 1 – 25 of 28) sorted by relevance

12

/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_IfaceManager.cpp87 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
90 IPACMERR("IPA_BRIDGE_LINK_UP_EVENT: not supported iface id: %d\n", data_all->if_index); in event_callback()
106 IPACMDBG_H("Recieved IPA_LINK_UP_EVENT event: link up %d: \n", evt_data->if_index); in event_callback()
107 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
110 IPACMERR("IPA_LINK_UP_EVENT: not supported iface id: %d\n", evt_data->if_index); in event_callback()
116 …e: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_index); in event_callback()
120 …e: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_index); in event_callback()
121 ifmgr_data.if_index = evt_data->if_index; in event_callback()
128 IPACMDBG_H("Recieved IPA_USB_LINK_UP_EVENT event: link up %d: \n", evt_data->if_index); in event_callback()
129 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
[all …]
DIPACM_Neighbor.cpp73 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
76 IPACMERR("IPA_WLAN_CLIENT_ADD_EVENT_EX: not supported iface id: %d\n", data->if_index); in event_callback()
108 if(data->if_index != neighbor_client[i].iface_index) in event_callback()
111 neighbor_client[i].iface_index = data->if_index; in event_callback()
132 data_all->if_index = neighbor_client[i].iface_index; in event_callback()
142 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
145 IPACMERR("not supported iface id: %d\n", data_all->if_index); in event_callback()
171 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
175 IPACMERR("not supported iface id: %d\n", data->if_index); in event_callback()
198 data->if_index = neighbor_client[i].iface_index; in event_callback()
[all …]
DIPACM_Main.cpp107 int ipa_get_if_index(char *if_name, int *if_index);
315 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
332 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
351 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
368 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
388 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
423 ipa_get_if_index(event_ex->name, &(data_ex->if_index)); in ipa_driver_msg_notifier()
454 new_neigh_data->if_index = data_ex->if_index; in ipa_driver_msg_notifier()
475 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
495 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
[all …]
DIPACM_Netlink.cpp50 int ipa_get_if_name(char *if_name, int if_index);
668 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
684 data_fid->if_index); in ipa_nl_decode_nlmsg()
706 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
728 data_fid->if_index); in ipa_nl_decode_nlmsg()
739 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
755 data_fid->if_index); in ipa_nl_decode_nlmsg()
806 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
809 data_fid->if_index); in ipa_nl_decode_nlmsg()
859 data_addr->if_index = msg_ptr->nl_addr_info.metainfo.ifa_index; in ipa_nl_decode_nlmsg()
[all …]
DIPACM_OffloadManager.cpp291 evt_data->if_index = index; in addDownstream()
336 evt_data->if_index = index; in removeDownstream()
660 evt_data_route->if_index = index; in post_route_evt()
675 …("Received WAN_UPSTREAM_ROUTE_ADD: fid(%d) tether_fid(%d) ip-type(%d)\n", evt_data_route->if_index, in post_route_evt()
680 evt_data_route->if_index, in post_route_evt()
692 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument
720 *if_index = ifr.ifr_ifindex; in ipa_get_if_index()
721 IPACMDBG_H("Interface netdev index %d\n", *if_index); in ipa_get_if_index()
818 data_fid->if_index = index; in push_iface_up()
822 data_fid->if_index); in push_iface_up()
[all …]
DIPACM_Iface.cpp453 data_addr->if_index = interface_index; in iface_addr_query()
458 data_addr->if_index, in iface_addr_query()
481 data_addr->if_index = interface_index; in iface_addr_query()
491 data_addr->if_index, in iface_addr_query()
965 int * if_index in ipa_get_if_index() argument
995 *if_index = ifr.ifr_ifindex; in ipa_get_if_index()
996 IPACMDBG_H("Interface index %d\n", *if_index); in ipa_get_if_index()
DIPACM_Wlan.cpp164 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
183 if (data->if_index == ipa_if_num) in event_callback()
203 if(data->if_index == ipa_if_num) in event_callback()
231 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
558 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
607 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
727 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
748 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
761 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
773 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
[all …]
DIPACM_ConntrackListener.cpp155 IPACMDBG("Received interface index %d with ip type: %d", data->if_index, data->iptype); in CheckNatIface()
200 ifr.ifr_ifindex = data->if_index; in CheckNatIface()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_IfaceManager.cpp87 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
90 IPACMERR("IPA_BRIDGE_LINK_UP_EVENT: not supported iface id: %d\n", data_all->if_index); in event_callback()
106 IPACMDBG_H("Recieved IPA_LINK_UP_EVENT event: link up %d: \n", evt_data->if_index); in event_callback()
107 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
110 IPACMERR("IPA_LINK_UP_EVENT: not supported iface id: %d\n", evt_data->if_index); in event_callback()
116 …e: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_index); in event_callback()
120 …e: %d: \n", IPACM_Iface::ipacmcfg->iface_table[ipa_interface_index].iface_name,evt_data->if_index); in event_callback()
121 ifmgr_data.if_index = evt_data->if_index; in event_callback()
128 IPACMDBG_H("Recieved IPA_USB_LINK_UP_EVENT event: link up %d: \n", evt_data->if_index); in event_callback()
129 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(evt_data->if_index); in event_callback()
[all …]
DIPACM_Neighbor.cpp73 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
76 IPACMERR("IPA_WLAN_CLIENT_ADD_EVENT_EX: not supported iface id: %d\n", data->if_index); in event_callback()
108 if(data->if_index != neighbor_client[i].iface_index) in event_callback()
111 neighbor_client[i].iface_index = data->if_index; in event_callback()
131 data_all->if_index = neighbor_client[i].iface_index; in event_callback()
139 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback()
142 IPACMERR("not supported iface id: %d\n", data_all->if_index); in event_callback()
168 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data->if_index); in event_callback()
171 IPACMERR("not supported iface id: %d\n", data->if_index); in event_callback()
193 data->if_index = neighbor_client[i].iface_index; in event_callback()
[all …]
DIPACM_Main.cpp107 int ipa_get_if_index(char *if_name, int *if_index);
307 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
324 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
343 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
360 ipa_get_if_index(event_wlan->name, &(data_fid->if_index)); in ipa_driver_msg_notifier()
380 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
415 ipa_get_if_index(event_ex->name, &(data_ex->if_index)); in ipa_driver_msg_notifier()
446 new_neigh_data->if_index = data_ex->if_index; in ipa_driver_msg_notifier()
467 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
487 ipa_get_if_index(event_wlan->name, &(data->if_index)); in ipa_driver_msg_notifier()
[all …]
DIPACM_Netlink.cpp50 int ipa_get_if_name(char *if_name, int if_index);
668 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
684 data_fid->if_index); in ipa_nl_decode_nlmsg()
705 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
721 data_fid->if_index); in ipa_nl_decode_nlmsg()
732 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
748 data_fid->if_index); in ipa_nl_decode_nlmsg()
798 data_fid->if_index = msg_ptr->nl_link_info.metainfo.ifi_index; in ipa_nl_decode_nlmsg()
801 data_fid->if_index); in ipa_nl_decode_nlmsg()
851 data_addr->if_index = msg_ptr->nl_addr_info.metainfo.ifa_index; in ipa_nl_decode_nlmsg()
[all …]
DIPACM_OffloadManager.cpp283 evt_data->if_index = index; in addDownstream()
328 evt_data->if_index = index; in removeDownstream()
605 evt_data_route->if_index = index; in post_route_evt()
619 …("Received WAN_UPSTREAM_ROUTE_ADD: fid(%d) tether_fid(%d) ip-type(%d)\n", evt_data_route->if_index, in post_route_evt()
631 int IPACM_OffloadManager::ipa_get_if_index(const char * if_name, int * if_index) in ipa_get_if_index() argument
659 *if_index = ifr.ifr_ifindex; in ipa_get_if_index()
660 IPACMDBG_H("Interface netdev index %d\n", *if_index); in ipa_get_if_index()
DIPACM_Iface.cpp452 data_addr->if_index = interface_index; in iface_addr_query()
456 data_addr->if_index, in iface_addr_query()
477 data_addr->if_index = interface_index; in iface_addr_query()
486 data_addr->if_index, in iface_addr_query()
930 int * if_index in ipa_get_if_index() argument
960 *if_index = ifr.ifr_ifindex; in ipa_get_if_index()
961 IPACMDBG_H("Interface index %d\n", *if_index); in ipa_get_if_index()
DIPACM_Wlan.cpp158 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
177 if (data->if_index == ipa_if_num) in event_callback()
197 if(data->if_index == ipa_if_num) in event_callback()
212 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
523 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
565 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
685 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
706 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
719 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
731 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
[all …]
DIPACM_Lan.cpp232 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
267 if (data->if_index == ipa_if_num) in event_callback()
287 if(data->if_index == ipa_if_num) in event_callback()
305 if(IPACM_Iface::ipa_get_if_index(dev_name, &(data_fid->if_index))) in event_callback()
337 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
660 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
704 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
819 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
875 ipa_interface_index = iface_ipa_index_query(data->if_index); in event_callback()
3439 fid->if_index = ipa_if_num; in post_del_self_evt()
DIPACM_ConntrackListener.cpp155 IPACMDBG("Received interface index %d with ip type: %d", data->if_index, data->iptype); in CheckNatIface()
200 ifr.ifr_ifindex = data->if_index; in CheckNatIface()
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
DIPACM_Defs.h258 int if_index; member
291 int if_index; member
301 int if_index; member
315 int if_index; member
326 int if_index; member
333 int if_index; member
365 int if_index; member
379 int if_index; member
DIPACM_Iface.h136 virtual int ipa_get_if_index(char * if_name, int * if_index);
DIPACM_Config.h303 data_fid->if_index = ipa_if_index; // already ipa index, not fid index in AddPrivateSubnet()
337 data_fid->if_index = ipa_if_index; // already ipa index, not fid index in DelPrivateSubnet()
DIPACM_OffloadManager.h111 int ipa_get_if_index(const char *if_name, int *if_index);
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
DIPACM_Defs.h248 int if_index; member
279 int if_index; member
289 int if_index; member
302 int if_index; member
313 int if_index; member
320 int if_index; member
351 int if_index; member
365 int if_index; member
DIPACM_Config.h299 data_fid->if_index = ipa_if_index; // already ipa index, not fid index in AddPrivateSubnet()
333 data_fid->if_index = ipa_if_index; // already ipa index, not fid index in DelPrivateSubnet()
DIPACM_Iface.h136 virtual int ipa_get_if_index(char * if_name, int * if_index);
DIPACM_OffloadManager.h109 int ipa_get_if_index(const char *if_name, int *if_index);

12