Lines Matching refs:current
71 struct ifaddrs* current = new(std::nothrow) ifaddrs();
72 if (current == NULL) {
78 current->ifa_next = *previous;
79 *previous = current;
81 current->ifa_name = strdup(interfaces[0].ifr_name);
82 current->ifa_addr = copy_address(interfaces[0].ifr_addr);
83 current->ifa_netmask = NULL;
84 current->ifa_dstaddr = NULL;
85 current->ifa_data = NULL;
92 current->ifa_flags = request.ifr_flags;
95 current->ifa_netmask = copy_address(request.ifr_mask);
99 current->ifa_dstaddr = copy_address(request.ifr_dstaddr);