Lines Matching defs:apf
781 struct ipv6_addr *ap, *apn, *apf;
804 apf = ipv6_findaddr(ap->iface->ctx,
806 if (apf && apf->iface != ap->iface &&
807 strcmp(apf->iface->name, ap->iface->name))
809 if (apf->iface->metric <= ap->iface->metric) {
810 logger(apf->iface->ctx, LOG_INFO,
814 apf->iface->name);
817 logger(apf->iface->ctx, LOG_INFO,
819 apf->iface->name,
822 if (if_deladdress6(apf) == -1 &&
824 logger(apf->iface->ctx, LOG_ERR,
826 apf->flags &=
828 } else if (apf)
829 apf->flags &= ~IPV6_AF_ADDED;
853 struct ipv6_addr *ap, *apn, *apf;
870 apf = ipv6_findaddr(ap->iface->ctx, &ap->addr, 0);
871 if (apf == NULL ||
872 (apf->iface != ap->iface &&
873 strcmp(apf->iface->name, ap->iface->name)))
876 DHCPCD_EXITING) && apf)
880 ipv6_addaddr(apf, &now);