/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Main.cpp | 150 ipacm_cmd_q_data evt_data; in firewall_monitor() local 198 evt_data.event = IPA_FIREWALL_CHANGE_EVENT; in firewall_monitor() 199 evt_data.evt_data = NULL; in firewall_monitor() 202 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 209 evt_data.event = IPA_CFG_CHANGE_EVENT; in firewall_monitor() 210 evt_data.evt_data = NULL; in firewall_monitor() 213 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 247 ipacm_cmd_q_data evt_data; in ipa_driver_msg_notifier() local 276 memset(&evt_data, 0, sizeof(evt_data)); in ipa_driver_msg_notifier() 301 evt_data.event = IPA_SW_ROUTING_ENABLE; in ipa_driver_msg_notifier() [all …]
|
D | IPACM_Neighbor.cpp | 63 ipacm_cmd_q_data evt_data; in event_callback() local 123 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 139 evt_data.evt_data = (void *)data_all; in event_callback() 140 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 148 evt_data.event, in event_callback() 203 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 206 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_DEL_EVENT; in event_callback() 214 evt_data.evt_data = (void *)data_all; in event_callback() 215 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 225 evt_data.event, in event_callback() [all …]
|
D | IPACM_OffloadManager.cpp | 198 ipacm_event_ipahal_stream *evt_data; in addDownstream() local 283 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in addDownstream() 284 if(evt_data == NULL) in addDownstream() 289 memset(evt_data, 0, sizeof(*evt_data)); in addDownstream() 291 evt_data->if_index = index; in addDownstream() 292 memcpy(&evt_data->prefix, &prefix, sizeof(evt_data->prefix)); in addDownstream() 295 evt.evt_data = (void*)evt_data; in addDownstream() 308 ipacm_event_ipahal_stream *evt_data; in removeDownstream() local 328 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in removeDownstream() 329 if(evt_data == NULL) in removeDownstream() [all …]
|
D | IPACM_Netlink.cpp | 615 ipacm_cmd_q_data evt_data; in ipa_nl_decode_nlmsg() local 674 evt_data.event = IPA_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 682 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 686 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 687 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 725 evt_data.event = IPA_USB_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 726 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 729 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 752 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 753 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_IfaceManager.cpp | 72 ipacm_event_data_fid *evt_data = (ipacm_event_data_fid *)param; in event_callback() local 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() 132 IPACMERR("IPA_USB_LINK_UP_EVENT: not supported iface id: %d\n", evt_data->if_index); in event_callback() [all …]
|
D | IPACM_EvtDispatcher.cpp | 134 tmp1.obj->event_callback(data->event, data->evt_data); in ProcessEvt() 142 if(data->evt_data != NULL) in ProcessEvt() 144 IPACMDBG("free the event:%d data: %pK\n", data->event, data->evt_data); in ProcessEvt() 145 free(data->evt_data); in ProcessEvt()
|
D | IPACM_ConntrackListener.cpp | 581 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTV6Message() local 584 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() 590 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTV6Message() 591 evt_data->type, NFCT_O_PLAIN, NFCT_OF_TIME); in ProcessCTV6Message() 645 if(((IPPROTO_UDP == l4proto) && (NFCT_T_NEW == evt_data->type)) || in ProcessCTV6Message() 652 else if((IPPROTO_UDP == l4proto && NFCT_T_DESTROY == evt_data->type) || in ProcessCTV6Message() 668 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTMessage() local 677 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTMessage() 678 evt_data->type, NFCT_O_PLAIN, out_flags); in ProcessCTMessage() 681 ParseCTMessage(evt_data->ct); in ProcessCTMessage() [all …]
|
D | IPACM_ConntrackClient.cpp | 104 ipacm_cmd_q_data evt_data; in IPAConntrackEventCB() local 133 evt_data.event = IPA_PROCESS_CT_MESSAGE; in IPAConntrackEventCB() 134 evt_data.evt_data = (void *)ct_data; in IPAConntrackEventCB() 139 evt_data.event = IPA_PROCESS_CT_MESSAGE_V6; in IPAConntrackEventCB() 143 if(0 != IPACM_EvtDispatcher::PostEvt(&evt_data)) in IPAConntrackEventCB()
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Main.cpp | 148 ipacm_cmd_q_data evt_data; in firewall_monitor() local 196 evt_data.event = IPA_FIREWALL_CHANGE_EVENT; in firewall_monitor() 197 evt_data.evt_data = NULL; in firewall_monitor() 200 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 207 evt_data.event = IPA_CFG_CHANGE_EVENT; in firewall_monitor() 208 evt_data.evt_data = NULL; in firewall_monitor() 211 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 242 ipacm_cmd_q_data evt_data; in ipa_driver_msg_notifier() local 268 memset(&evt_data, 0, sizeof(evt_data)); in ipa_driver_msg_notifier() 293 evt_data.event = IPA_SW_ROUTING_ENABLE; in ipa_driver_msg_notifier() [all …]
|
D | IPACM_Neighbor.cpp | 63 ipacm_cmd_q_data evt_data; in event_callback() local 123 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 139 evt_data.evt_data = (void *)data_all; in event_callback() 140 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 148 evt_data.event, in event_callback() 203 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 206 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_DEL_EVENT; in event_callback() 214 evt_data.evt_data = (void *)data_all; in event_callback() 215 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 225 evt_data.event, in event_callback() [all …]
|
D | IPACM_OffloadManager.cpp | 198 ipacm_event_ipahal_stream *evt_data; in addDownstream() local 283 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in addDownstream() 284 if(evt_data == NULL) in addDownstream() 289 memset(evt_data, 0, sizeof(*evt_data)); in addDownstream() 291 evt_data->if_index = index; in addDownstream() 292 memcpy(&evt_data->prefix, &prefix, sizeof(evt_data->prefix)); in addDownstream() 295 evt.evt_data = (void*)evt_data; in addDownstream() 308 ipacm_event_ipahal_stream *evt_data; in removeDownstream() local 328 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in removeDownstream() 329 if(evt_data == NULL) in removeDownstream() [all …]
|
D | IPACM_Netlink.cpp | 615 ipacm_cmd_q_data evt_data; in ipa_nl_decode_nlmsg() local 674 evt_data.event = IPA_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 682 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 686 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 687 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 725 evt_data.event = IPA_USB_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 726 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 729 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 752 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 753 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_IfaceManager.cpp | 72 ipacm_event_data_fid *evt_data = (ipacm_event_data_fid *)param; in event_callback() local 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() 132 IPACMERR("IPA_USB_LINK_UP_EVENT: not supported iface id: %d\n", evt_data->if_index); in event_callback() [all …]
|
D | IPACM_EvtDispatcher.cpp | 134 tmp1.obj->event_callback(data->event, data->evt_data); in ProcessEvt() 142 if(data->evt_data != NULL) in ProcessEvt() 144 IPACMDBG("free the event:%d data: %pK\n", data->event, data->evt_data); in ProcessEvt() 145 free(data->evt_data); in ProcessEvt()
|
D | IPACM_ConntrackListener.cpp | 574 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTV6Message() local 577 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() 583 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTV6Message() 584 evt_data->type, NFCT_O_PLAIN, NFCT_OF_TIME); in ProcessCTV6Message() 638 if(((IPPROTO_UDP == l4proto) && (NFCT_T_NEW == evt_data->type)) || in ProcessCTV6Message() 645 else if((IPPROTO_UDP == l4proto && NFCT_T_DESTROY == evt_data->type) || in ProcessCTV6Message() 661 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTMessage() local 670 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTMessage() 671 evt_data->type, NFCT_O_PLAIN, out_flags); in ProcessCTMessage() 674 ParseCTMessage(evt_data->ct); in ProcessCTMessage() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Main.cpp | 145 ipacm_cmd_q_data evt_data; in firewall_monitor() local 193 evt_data.event = IPA_FIREWALL_CHANGE_EVENT; in firewall_monitor() 194 evt_data.evt_data = NULL; in firewall_monitor() 197 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 204 evt_data.event = IPA_CFG_CHANGE_EVENT; in firewall_monitor() 205 evt_data.evt_data = NULL; in firewall_monitor() 208 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 237 ipacm_cmd_q_data evt_data; in ipa_driver_msg_notifier() local 260 memset(&evt_data, 0, sizeof(evt_data)); in ipa_driver_msg_notifier() 285 evt_data.event = IPA_SW_ROUTING_ENABLE; in ipa_driver_msg_notifier() [all …]
|
D | IPACM_Neighbor.cpp | 63 ipacm_cmd_q_data evt_data; in event_callback() local 123 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 136 evt_data.evt_data = (void *)data_all; in event_callback() 137 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 145 evt_data.event, in event_callback() 197 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_ADD_EVENT; in event_callback() 200 evt_data.event = IPA_NEIGH_CLIENT_IP_ADDR_DEL_EVENT; in event_callback() 208 evt_data.evt_data = (void *)data_all; in event_callback() 209 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 219 evt_data.event, in event_callback() [all …]
|
D | IPACM_Netlink.cpp | 615 ipacm_cmd_q_data evt_data; in ipa_nl_decode_nlmsg() local 674 evt_data.event = IPA_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 682 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 686 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 687 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 718 evt_data.event = IPA_USB_LINK_UP_EVENT; in ipa_nl_decode_nlmsg() 719 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() 722 IPACM_EvtDispatcher::PostEvt(&evt_data); in ipa_nl_decode_nlmsg() 745 evt_data.event = IPA_LINK_DOWN_EVENT; in ipa_nl_decode_nlmsg() 746 evt_data.evt_data = data_fid; in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_IfaceManager.cpp | 72 ipacm_event_data_fid *evt_data = (ipacm_event_data_fid *)param; in event_callback() local 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() 132 IPACMERR("IPA_USB_LINK_UP_EVENT: not supported iface id: %d\n", evt_data->if_index); in event_callback() [all …]
|
D | IPACM_OffloadManager.cpp | 198 ipacm_event_ipahal_stream *evt_data; in addDownstream() local 275 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in addDownstream() 276 if(evt_data == NULL) in addDownstream() 281 memset(evt_data, 0, sizeof(*evt_data)); in addDownstream() 283 evt_data->if_index = index; in addDownstream() 284 memcpy(&evt_data->prefix, &prefix, sizeof(evt_data->prefix)); in addDownstream() 287 evt.evt_data = (void*)evt_data; in addDownstream() 300 ipacm_event_ipahal_stream *evt_data; in removeDownstream() local 320 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in removeDownstream() 321 if(evt_data == NULL) in removeDownstream() [all …]
|
D | IPACM_EvtDispatcher.cpp | 134 tmp1.obj->event_callback(data->event, data->evt_data); in ProcessEvt() 142 if(data->evt_data != NULL) in ProcessEvt() 144 IPACMDBG("free the event:%d data: %p\n", data->event, data->evt_data); in ProcessEvt() 145 free(data->evt_data); in ProcessEvt()
|
D | IPACM_ConntrackListener.cpp | 583 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTV6Message() local 586 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() 592 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTV6Message() 593 evt_data->type, NFCT_O_PLAIN, NFCT_OF_TIME); in ProcessCTV6Message() 647 if(((IPPROTO_UDP == l4proto) && (NFCT_T_NEW == evt_data->type)) || in ProcessCTV6Message() 654 else if((IPPROTO_UDP == l4proto && NFCT_T_DESTROY == evt_data->type) || in ProcessCTV6Message() 670 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTMessage() local 679 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTMessage() 680 evt_data->type, NFCT_O_PLAIN, out_flags); in ProcessCTMessage() 683 ParseCTMessage(evt_data->ct); in ProcessCTMessage() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/ |
D | IPACM_Config.h | 273 ipacm_cmd_q_data evt_data; in AddPrivateSubnet() local 300 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in AddPrivateSubnet() 301 evt_data.evt_data = data_fid; in AddPrivateSubnet() 304 IPACM_EvtDispatcher::PostEvt(&evt_data); in AddPrivateSubnet() 313 ipacm_cmd_q_data evt_data; in DelPrivateSubnet() local 334 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in DelPrivateSubnet() 335 evt_data.evt_data = data_fid; in DelPrivateSubnet() 338 IPACM_EvtDispatcher::PostEvt(&evt_data); in DelPrivateSubnet()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Config.h | 277 ipacm_cmd_q_data evt_data; in AddPrivateSubnet() local 304 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in AddPrivateSubnet() 305 evt_data.evt_data = data_fid; in AddPrivateSubnet() 308 IPACM_EvtDispatcher::PostEvt(&evt_data); in AddPrivateSubnet() 317 ipacm_cmd_q_data evt_data; in DelPrivateSubnet() local 338 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in DelPrivateSubnet() 339 evt_data.evt_data = data_fid; in DelPrivateSubnet() 342 IPACM_EvtDispatcher::PostEvt(&evt_data); in DelPrivateSubnet()
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Config.h | 277 ipacm_cmd_q_data evt_data; in AddPrivateSubnet() local 304 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in AddPrivateSubnet() 305 evt_data.evt_data = data_fid; in AddPrivateSubnet() 308 IPACM_EvtDispatcher::PostEvt(&evt_data); in AddPrivateSubnet() 317 ipacm_cmd_q_data evt_data; in DelPrivateSubnet() local 338 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in DelPrivateSubnet() 339 evt_data.evt_data = data_fid; in DelPrivateSubnet() 342 IPACM_EvtDispatcher::PostEvt(&evt_data); in DelPrivateSubnet()
|