Lines Matching refs:physaddrlen
98 uint_t physaddrlen; /* mac address length */
406 uint_t physaddrlen = DLPI_PHYSADDR_MAX;
429 &physaddrlen)) != DLPI_SUCCESS) {
434 rdev->physaddrlen = physaddrlen;
436 (2 * physaddrlen);
440 rdev->physaddrlen, IFT_OTHER);
489 if (((shost = malloc(rdev->physaddrlen)) == NULL) ||
494 str = _link_ntoa(rdev->physaddr, str, rdev->physaddrlen,
525 else if (ans->ar_hln != rdev->physaddrlen)
584 str = _link_ntoa(thap, str, rdev->physaddrlen, IFT_OTHER);
594 if ((memcmp(shap, thap, rdev->physaddrlen) != 0) ||
595 (memcmp(shap, shost, rdev->physaddrlen) != 0)) {
603 (void) memcpy(shap, rdev->physaddr, rdev->physaddrlen);
624 rrp = calloc(1, sizeof (struct rarpreply) + rdev->physaddrlen +
629 rrp->arprep = rrp->lldest + rdev->physaddrlen;
637 (void) memcpy(rrp->lldest, shost, rdev->physaddrlen);
647 rdev->physaddrlen, rrp->arprep, rdev->ifrarplen, NULL);
686 (void) memcpy(LLADDR(&ar.xarp_ha), laddr, rdev->physaddrlen);
687 ar.xarp_ha.sdl_alen = rdev->physaddrlen;
727 (void) memcpy(shap, rdev->physaddr, rdev->physaddrlen);
729 (void) memcpy(thap, rdev->physaddr, rdev->physaddrlen);
736 rrp = calloc(1, sizeof (struct rarpreply) + rdev->physaddrlen +
741 rrp->arprep = rrp->lldest + rdev->physaddrlen;
744 (void) memcpy(rrp->lldest, shost, rdev->physaddrlen);
747 retval = dlpi_send(rdev->dh_rarp, rrp->lldest, rdev->physaddrlen,
780 err = dlpi_send(rdev->dh_rarp, rrp->lldest, rdev->physaddrlen,
917 if (rdev->physaddrlen != ETHERADDRL) {