Searched refs:data_all (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Neighbor.cpp | 61 ipacm_event_data_all *data_all = NULL; in event_callback() local 124 data_all = (ipacm_event_data_all *)malloc(sizeof(ipacm_event_data_all)); in event_callback() 125 if (data_all == NULL) in event_callback() 130 memset(data_all,0,sizeof(ipacm_event_data_all)); in event_callback() 131 data_all->iptype = IPA_IP_v4; in event_callback() 132 data_all->if_index = neighbor_client[i].iface_index; in event_callback() 133 data_all->ipv4_addr = neighbor_client[i].v4_addr; //use previous ipv4 address in event_callback() 134 memcpy(data_all->mac_addr, in event_callback() 136 sizeof(data_all->mac_addr)); in event_callback() 137 memcpy(data_all->iface_name, neighbor_client[i].iface_name, in event_callback() [all …]
|
D | IPACM_Netlink.cpp | 616 ipacm_event_data_all *data_all; in ipa_nl_decode_nlmsg() local 1389 data_all = (ipacm_event_data_all *)malloc(sizeof(ipacm_event_data_all)); in ipa_nl_decode_nlmsg() 1390 if(data_all == NULL) in ipa_nl_decode_nlmsg() 1396 memset(data_all, 0, sizeof(ipacm_event_data_all)); in ipa_nl_decode_nlmsg() 1400 IPACM_EVENT_COPY_ADDR_v6( data_all->ipv6_addr, msg_ptr->nl_neigh_info.attr_info.local_addr); in ipa_nl_decode_nlmsg() 1402 data_all->ipv6_addr[0]=ntohl(data_all->ipv6_addr[0]); in ipa_nl_decode_nlmsg() 1403 data_all->ipv6_addr[1]=ntohl(data_all->ipv6_addr[1]); in ipa_nl_decode_nlmsg() 1404 data_all->ipv6_addr[2]=ntohl(data_all->ipv6_addr[2]); in ipa_nl_decode_nlmsg() 1405 data_all->ipv6_addr[3]=ntohl(data_all->ipv6_addr[3]); in ipa_nl_decode_nlmsg() 1406 data_all->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_IfaceManager.cpp | 74 ipacm_event_data_all *data_all = (ipacm_event_data_all *)param; in event_callback() local 87 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() 98 data_all->mac_addr, in event_callback()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Neighbor.cpp | 61 ipacm_event_data_all *data_all = NULL; in event_callback() local 124 data_all = (ipacm_event_data_all *)malloc(sizeof(ipacm_event_data_all)); in event_callback() 125 if (data_all == NULL) in event_callback() 130 data_all->iptype = IPA_IP_v4; in event_callback() 131 data_all->if_index = neighbor_client[i].iface_index; in event_callback() 132 data_all->ipv4_addr = neighbor_client[i].v4_addr; //use previous ipv4 address in event_callback() 133 memcpy(data_all->mac_addr, in event_callback() 135 sizeof(data_all->mac_addr)); in event_callback() 136 evt_data.evt_data = (void *)data_all; in event_callback() 139 ipa_interface_index = IPACM_Iface::iface_ipa_index_query(data_all->if_index); in event_callback() [all …]
|
D | IPACM_Netlink.cpp | 616 ipacm_event_data_all *data_all; in ipa_nl_decode_nlmsg() local 1380 data_all = (ipacm_event_data_all *)malloc(sizeof(ipacm_event_data_all)); in ipa_nl_decode_nlmsg() 1381 if(data_all == NULL) in ipa_nl_decode_nlmsg() 1387 memset(data_all, 0, sizeof(ipacm_event_data_all)); in ipa_nl_decode_nlmsg() 1391 IPACM_EVENT_COPY_ADDR_v6( data_all->ipv6_addr, msg_ptr->nl_neigh_info.attr_info.local_addr); in ipa_nl_decode_nlmsg() 1393 data_all->ipv6_addr[0]=ntohl(data_all->ipv6_addr[0]); in ipa_nl_decode_nlmsg() 1394 data_all->ipv6_addr[1]=ntohl(data_all->ipv6_addr[1]); in ipa_nl_decode_nlmsg() 1395 data_all->ipv6_addr[2]=ntohl(data_all->ipv6_addr[2]); in ipa_nl_decode_nlmsg() 1396 data_all->ipv6_addr[3]=ntohl(data_all->ipv6_addr[3]); in ipa_nl_decode_nlmsg() 1397 data_all->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg() [all …]
|
D | IPACM_IfaceManager.cpp | 74 ipacm_event_data_all *data_all = (ipacm_event_data_all *)param; in event_callback() local 87 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() 98 data_all->mac_addr, in event_callback()
|