Searched refs:data_addr (Results 1 – 5 of 5) sorted by relevance
618 ipacm_event_data_addr *data_addr; in ipa_nl_decode_nlmsg() local824 data_addr = (ipacm_event_data_addr *)malloc(sizeof(ipacm_event_data_addr)); in ipa_nl_decode_nlmsg()825 if(data_addr == NULL) in ipa_nl_decode_nlmsg()833 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()835 IPACM_EVENT_COPY_ADDR_v6( data_addr->ipv6_addr, msg_ptr->nl_addr_info.attr_info.prefix_addr); in ipa_nl_decode_nlmsg()836 data_addr->ipv6_addr[0] = ntohl(data_addr->ipv6_addr[0]); in ipa_nl_decode_nlmsg()837 data_addr->ipv6_addr[1] = ntohl(data_addr->ipv6_addr[1]); in ipa_nl_decode_nlmsg()838 data_addr->ipv6_addr[2] = ntohl(data_addr->ipv6_addr[2]); in ipa_nl_decode_nlmsg()839 data_addr->ipv6_addr[3] = ntohl(data_addr->ipv6_addr[3]); in ipa_nl_decode_nlmsg()843 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()[all …]
395 ipacm_event_data_addr *data_addr; in iface_addr_query() local444 data_addr = (ipacm_event_data_addr *)malloc(sizeof(ipacm_event_data_addr)); in iface_addr_query()445 if(data_addr == NULL) in iface_addr_query()451 data_addr->iptype = IPA_IP_v4; in iface_addr_query()452 data_addr->if_index = interface_index; in iface_addr_query()453 data_addr->ipv4_addr = iface_ipv4.s_addr; in iface_addr_query()454 data_addr->ipv4_addr = ntohl(data_addr->ipv4_addr); in iface_addr_query()456 data_addr->if_index, in iface_addr_query()457 data_addr->ipv4_addr); in iface_addr_query()460 evt_data.evt_data = data_addr; in iface_addr_query()[all …]
618 ipacm_event_data_addr *data_addr; in ipa_nl_decode_nlmsg() local832 data_addr = (ipacm_event_data_addr *)malloc(sizeof(ipacm_event_data_addr)); in ipa_nl_decode_nlmsg()833 if(data_addr == NULL) in ipa_nl_decode_nlmsg()841 data_addr->iptype = IPA_IP_v6; in ipa_nl_decode_nlmsg()843 IPACM_EVENT_COPY_ADDR_v6( data_addr->ipv6_addr, msg_ptr->nl_addr_info.attr_info.prefix_addr); in ipa_nl_decode_nlmsg()844 data_addr->ipv6_addr[0] = ntohl(data_addr->ipv6_addr[0]); in ipa_nl_decode_nlmsg()845 data_addr->ipv6_addr[1] = ntohl(data_addr->ipv6_addr[1]); in ipa_nl_decode_nlmsg()846 data_addr->ipv6_addr[2] = ntohl(data_addr->ipv6_addr[2]); in ipa_nl_decode_nlmsg()847 data_addr->ipv6_addr[3] = ntohl(data_addr->ipv6_addr[3]); in ipa_nl_decode_nlmsg()851 data_addr->iptype = IPA_IP_v4; in ipa_nl_decode_nlmsg()[all …]
460 ipacm_event_data_addr *data_addr; in iface_addr_query() local509 data_addr = (ipacm_event_data_addr *)malloc(sizeof(ipacm_event_data_addr)); in iface_addr_query()510 if(data_addr == NULL) in iface_addr_query()516 memset(data_addr, 0, sizeof(ipacm_event_data_addr)); in iface_addr_query()517 data_addr->iptype = IPA_IP_v4; in iface_addr_query()518 data_addr->if_index = interface_index; in iface_addr_query()519 data_addr->ipv4_addr = iface_ipv4.s_addr; in iface_addr_query()520 data_addr->ipv4_addr = ntohl(data_addr->ipv4_addr); in iface_addr_query()521 strlcpy(data_addr->iface_name, ifr.ifr_name, sizeof(data_addr->iface_name)); in iface_addr_query()523 data_addr->if_index, in iface_addr_query()[all …]
181 uintptr_t data_addr = reinterpret_cast<uintptr_t>(data); in SetMetadataRaw() local182 if (data_addr > buffer_addr && data_addr < (buffer_addr + buffer_size)) { in SetMetadataRaw()