Lines Matching refs:iaid
475 if (ifp->hwlen >= sizeof(ifo->iaid)) in configure_interface1()
476 memcpy(ifo->iaid, in configure_interface1()
477 ifp->hwaddr + ifp->hwlen - sizeof(ifo->iaid), in configure_interface1()
478 sizeof(ifo->iaid)); in configure_interface1()
483 if (len <= sizeof(ifo->iaid)) { in configure_interface1()
484 memcpy(ifo->iaid, ifp->name, len); in configure_interface1()
485 if (len < sizeof(ifo->iaid)) in configure_interface1()
486 memset(ifo->iaid + len, 0, in configure_interface1()
487 sizeof(ifo->iaid) - len); in configure_interface1()
491 memcpy(ifo->iaid, &len, sizeof(len)); in configure_interface1()
507 memcpy(ifo->ia->iaid, ifo->iaid, sizeof(ifo->iaid)); in configure_interface1()
515 memcpy(&ifo->ia[i].iaid, ifo->iaid, in configure_interface1()
516 sizeof(ifo->ia[i].iaid)); in configure_interface1()
700 warn_iaid_conflict(struct interface *ifp, uint8_t *iaid) in warn_iaid_conflict() argument
710 if (memcmp(ifn->options->iaid, iaid, in warn_iaid_conflict()
711 sizeof(ifn->options->iaid)) == 0) in warn_iaid_conflict()
714 if (memcmp(&ifn->options->ia[i].iaid, iaid, in warn_iaid_conflict()
715 sizeof(ifn->options->ia[i].iaid)) == 0) in warn_iaid_conflict()
792 hwaddr_ntoa(ifo->iaid, sizeof(ifo->iaid), in dhcpcd_startinterface()
794 warn_iaid_conflict(ifp, ifo->iaid); in dhcpcd_startinterface()
796 if (memcmp(ifo->iaid, ifo->ia[i].iaid, in dhcpcd_startinterface()
797 sizeof(ifo->iaid))) in dhcpcd_startinterface()
800 ifp->name, hwaddr_ntoa(ifo->ia[i].iaid, in dhcpcd_startinterface()
801 sizeof(ifo->ia[i].iaid), in dhcpcd_startinterface()
803 warn_iaid_conflict(ifp, ifo->ia[i].iaid); in dhcpcd_startinterface()