/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Main.cpp | 156 ipacm_cmd_q_data evt_data; in firewall_monitor() local 204 evt_data.event = IPA_FIREWALL_CHANGE_EVENT; in firewall_monitor() 205 evt_data.evt_data = NULL; in firewall_monitor() 208 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 215 evt_data.event = IPA_CFG_CHANGE_EVENT; in firewall_monitor() 216 evt_data.evt_data = NULL; in firewall_monitor() 219 IPACM_EvtDispatcher::PostEvt(&evt_data); in firewall_monitor() 257 ipacm_cmd_q_data evt_data; in ipa_driver_msg_notifier() local 290 memset(&evt_data, 0, sizeof(evt_data)); in ipa_driver_msg_notifier() 315 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 | 226 ipacm_event_ipahal_stream *evt_data; in addDownstream() local 316 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in addDownstream() 317 if(evt_data == NULL) in addDownstream() 322 memset(evt_data, 0, sizeof(*evt_data)); in addDownstream() 324 evt_data->if_index = index; in addDownstream() 325 memcpy(&evt_data->prefix, &prefix, sizeof(evt_data->prefix)); in addDownstream() 328 evt.evt_data = (void*)evt_data; in addDownstream() 341 ipacm_event_ipahal_stream *evt_data; in removeDownstream() local 361 evt_data = (ipacm_event_ipahal_stream*)malloc(sizeof(ipacm_event_ipahal_stream)); in removeDownstream() 362 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 | 593 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTV6Message() local 596 struct nf_conntrack *ct = evt_data->ct; in ProcessCTV6Message() 602 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTV6Message() 603 evt_data->type, NFCT_O_PLAIN, NFCT_OF_TIME); in ProcessCTV6Message() 657 if(((IPPROTO_UDP == l4proto) && (NFCT_T_NEW == evt_data->type)) || in ProcessCTV6Message() 664 else if((IPPROTO_UDP == l4proto && NFCT_T_DESTROY == evt_data->type) || in ProcessCTV6Message() 680 ipacm_ct_evt_data *evt_data = (ipacm_ct_evt_data *)param; in ProcessCTMessage() local 690 nfct_snprintf(buf, sizeof(buf), evt_data->ct, in ProcessCTMessage() 691 evt_data->type, NFCT_O_PLAIN, out_flags); in ProcessCTMessage() 694 ParseCTMessage(evt_data->ct); in ProcessCTMessage() [all …]
|
D | IPACM_ConntrackClient.cpp | 107 ipacm_cmd_q_data evt_data; in IPAConntrackEventCB() local 136 evt_data.event = IPA_PROCESS_CT_MESSAGE; in IPAConntrackEventCB() 137 evt_data.evt_data = (void *)ct_data; in IPAConntrackEventCB() 142 evt_data.event = IPA_PROCESS_CT_MESSAGE_V6; in IPAConntrackEventCB() 146 if(0 != IPACM_EvtDispatcher::PostEvt(&evt_data)) in IPAConntrackEventCB()
|
D | IPACM_Wan.cpp | 1096 ipacm_cmd_q_data evt_data; in event_callback() local 1097 memset(&evt_data, 0, sizeof(evt_data)); in event_callback() 1107 evt_data.event = IPA_CRADLE_WAN_MODE_SWITCH; in event_callback() 1108 evt_data.evt_data = data_wan_mode; in event_callback() 1110 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 1134 ipacm_cmd_q_data evt_data; in event_callback() local 1135 memset(&evt_data, 0, sizeof(evt_data)); in event_callback() 1148 evt_data.event = IPA_USB_LINK_UP_EVENT; in event_callback() 1149 evt_data.evt_data = data_fid; in event_callback() 1150 IPACMDBG_H("Posting event:%d\n", evt_data.event); in event_callback() [all …]
|
D | IPACM_Iface.cpp | 459 ipacm_cmd_q_data evt_data; in iface_addr_query() local 527 evt_data.event = IPA_ADDR_ADD_EVENT; in iface_addr_query() 528 evt_data.evt_data = data_addr; in iface_addr_query() 529 IPACM_EvtDispatcher::PostEvt(&evt_data); in iface_addr_query() 560 evt_data.event = IPA_ADDR_ADD_EVENT; in iface_addr_query() 561 evt_data.evt_data = data_addr; in iface_addr_query() 562 IPACM_EvtDispatcher::PostEvt(&evt_data); in iface_addr_query()
|
/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 …]
|
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()
|
D | IPACM_Wan.cpp | 597 ipacm_cmd_q_data evt_data; in event_callback() local 598 memset(&evt_data, 0, sizeof(evt_data)); in event_callback() 608 evt_data.event = IPA_CRADLE_WAN_MODE_SWITCH; in event_callback() 609 evt_data.evt_data = data_wan_mode; in event_callback() 611 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 635 ipacm_cmd_q_data evt_data; in event_callback() local 636 memset(&evt_data, 0, sizeof(evt_data)); in event_callback() 649 evt_data.event = IPA_USB_LINK_UP_EVENT; in event_callback() 650 evt_data.evt_data = data_fid; in event_callback() 651 IPACMDBG_H("Posting event:%d\n", evt_data.event); in event_callback() [all …]
|
D | IPACM_Iface.cpp | 394 ipacm_cmd_q_data evt_data; in iface_addr_query() local 459 evt_data.event = IPA_ADDR_ADD_EVENT; in iface_addr_query() 460 evt_data.evt_data = data_addr; in iface_addr_query() 461 IPACM_EvtDispatcher::PostEvt(&evt_data); in iface_addr_query() 489 evt_data.event = IPA_ADDR_ADD_EVENT; in iface_addr_query() 490 evt_data.evt_data = data_addr; in iface_addr_query() 491 IPACM_EvtDispatcher::PostEvt(&evt_data); in iface_addr_query()
|
D | IPACM_Lan.cpp | 295 ipacm_cmd_q_data evt_data; in event_callback() local 296 memset(&evt_data, 0, sizeof(evt_data)); in event_callback() 309 evt_data.event = IPA_USB_LINK_UP_EVENT; in event_callback() 310 evt_data.evt_data = data_fid; in event_callback() 312 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 433 ipacm_cmd_q_data evt_data; in event_callback() local 448 evt_data.event = IPA_HANDLE_LAN_UP; in event_callback() 449 evt_data.evt_data = (void *)info; in event_callback() 455 IPACM_EvtDispatcher::PostEvt(&evt_data); in event_callback() 3441 evt.evt_data = (void*)fid; in post_del_self_evt() [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()
|
D | IPACM_CmdQueue.h | 54 void *evt_data; member
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/ |
D | IPACM_Config.h | 290 ipacm_cmd_q_data evt_data; in AddPrivateSubnet() local 317 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in AddPrivateSubnet() 318 evt_data.evt_data = data_fid; in AddPrivateSubnet() 321 IPACM_EvtDispatcher::PostEvt(&evt_data); in AddPrivateSubnet() 330 ipacm_cmd_q_data evt_data; in DelPrivateSubnet() local 351 evt_data.event = IPA_PRIVATE_SUBNET_CHANGE_EVENT; in DelPrivateSubnet() 352 evt_data.evt_data = data_fid; in DelPrivateSubnet() 355 IPACM_EvtDispatcher::PostEvt(&evt_data); in DelPrivateSubnet()
|
D | IPACM_CmdQueue.h | 54 void *evt_data; member
|