Lines Matching refs:dlp
117 struct sockaddr_dl *dlp; in test_ether_multi() local
142 dlp = (struct sockaddr_dl *)&ifr.ifr_addr; in test_ether_multi()
143 memset(dlp, 0, sizeof(struct sockaddr_dl)); in test_ether_multi()
144 dlp->sdl_len = sizeof(struct sockaddr_dl); in test_ether_multi()
145 dlp->sdl_family = AF_LINK; in test_ether_multi()
146 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi()
147 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi()
169 if (bcmp(LLADDR(&psa->sdl), LLADDR(dlp), in test_ether_multi()
185 dlp = (struct sockaddr_dl *)&ifr.ifr_addr; in test_ether_multi()
186 memset(dlp, 0, sizeof(struct sockaddr_dl)); in test_ether_multi()
187 dlp->sdl_len = sizeof(struct sockaddr_dl); in test_ether_multi()
188 dlp->sdl_family = AF_LINK; in test_ether_multi()
189 dlp->sdl_alen = sizeof(struct ether_addr); in test_ether_multi()
190 memcpy(LLADDR(dlp), &ea, sizeof(struct ether_addr)); in test_ether_multi()