Lines Matching refs:if_addrlen
249 if (lladdr && ((ifp->if_addrlen + 2 + 7) & ~7) != lladdrlen) {
253 ip6_sprintf(&taddr6), ifp->if_addrlen, lladdrlen - 2));
361 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
496 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen;
507 bcopy(mac, (caddr_t)(nd_opt + 1), ifp->if_addrlen);
644 if (lladdr && ((ifp->if_addrlen + 2 + 7) & ~7) != lladdrlen) {
648 ip6_sprintf(&taddr6), ifp->if_addrlen, lladdrlen - 2));
667 if (ifp->if_addrlen && !lladdr)
673 sdl->sdl_alen = ifp->if_addrlen;
674 bcopy(lladdr, LLADDR(sdl), ifp->if_addrlen);
703 if (bcmp(lladdr, LLADDR(sdl), ifp->if_addrlen))
747 sdl->sdl_alen = ifp->if_addrlen;
748 bcopy(lladdr, LLADDR(sdl), ifp->if_addrlen);
861 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
944 if (sdl->sdl_alen == ifp->if_addrlen)
949 int optlen = sizeof(struct nd_opt_hdr) + ifp->if_addrlen;
961 bcopy(mac, (caddr_t)(nd_opt + 1), ifp->if_addrlen);