Lines Matching refs:current
47 isc_interface_t current; /* Current interface data. */
138 * Get information about the current interface to iter->current.
160 memset(&iter->current, 0, sizeof(iter->current));
163 if (namelen > sizeof(iter->current.name) - 1)
164 namelen = sizeof(iter->current.name) - 1;
166 memset(iter->current.name, 0, sizeof(iter->current.name));
167 memmove(iter->current.name, sdl->sdl_data, namelen);
169 iter->current.flags = 0;
172 iter->current.flags |= INTERFACE_F_UP;
175 iter->current.flags |= INTERFACE_F_POINTTOPOINT;
178 iter->current.flags |= INTERFACE_F_LOOPBACK;
238 iter->current.af = family;
240 get_addr(family, &iter->current.address, addr_sa,
241 iter->current.name);
244 get_addr(family, &iter->current.netmask, mask_sa,
245 iter->current.name);
248 (iter->current.flags & INTERFACE_F_POINTTOPOINT) != 0)
249 get_addr(family, &iter->current.dstaddress, dst_sa,
250 iter->current.name);