Lines Matching defs:current
72 isc_interface_t current; /* Current interface data. */
303 * Get information about the current interface to iter->current.
318 memset(&iter->current, 0, sizeof(iter->current));
319 iter->current.af = AF_INET;
321 get_addr(AF_INET, &iter->current.address,
328 iter->current.flags = 0;
332 iter->current.flags |= INTERFACE_F_UP;
335 iter->current.flags |= INTERFACE_F_POINTTOPOINT;
336 sprintf(iter->current.name, "PPP Interface %d", iter->numIF);
341 iter->current.flags |= INTERFACE_F_LOOPBACK;
342 sprintf(iter->current.name, "Loopback Interface %d",
350 if ((iter->current.flags & INTERFACE_F_POINTTOPOINT) != 0) {
351 get_addr(AF_INET, &iter->current.dstaddress,
356 sprintf(iter->current.name,
362 get_addr(AF_INET, &iter->current.netmask,
377 memset(&iter->current, 0, sizeof(iter->current));
378 iter->current.af = AF_INET6;
380 get_addr(AF_INET6, &iter->current.address,
387 iter->current.flags = INTERFACE_F_UP;
390 sprintf(iter->current.name,
394 iter->current.netmask.type.in6.s6_addr[i] = 0xff;
395 iter->current.netmask.family = AF_INET6;
444 memmove(ifdata, &iter->current, sizeof(*ifdata));