Lines Matching defs:ifra
441 struct in6_aliasreq ifra;
449 in6_prepare_ifra(&ifra, NULL, &in6mask64);
451 ifra.ifra_addr.sin6_addr.s6_addr32[0] = htonl(0xfe800000);
452 ifra.ifra_addr.sin6_addr.s6_addr32[1] = 0;
454 ifra.ifra_addr.sin6_addr.s6_addr32[2] = 0;
455 ifra.ifra_addr.sin6_addr.s6_addr32[3] = htonl(1);
457 if (get_ifid(ifp, altifp, &ifra.ifra_addr.sin6_addr) != 0) {
463 if (in6_setscope(&ifra.ifra_addr.sin6_addr, ifp, NULL))
467 ifra.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME;
468 ifra.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME;
476 if ((error = in6_update_ifa(ifp, &ifra, NULL,
514 pr0.ndpr_plen = in6_mask2len(&ifra.ifra_prefixmask.sin6_addr, NULL);
515 pr0.ndpr_prefix = ifra.ifra_addr;
548 struct in6_aliasreq ifra;
551 in6_prepare_ifra(&ifra, &in6addr_loopback, &in6mask128);
557 ifra.ifra_dstaddr.sin6_len = sizeof(struct sockaddr_in6);
558 ifra.ifra_dstaddr.sin6_family = AF_INET6;
559 ifra.ifra_dstaddr.sin6_addr = in6addr_loopback;
562 ifra.ifra_lifetime.ia6t_vltime = ND6_INFINITE_LIFETIME;
563 ifra.ifra_lifetime.ia6t_pltime = ND6_INFINITE_LIFETIME;
569 if ((error = in6_update_ifa(ifp, &ifra, NULL, 0)) != 0) {