Lines Matching defs:sdl
824 struct sockaddr_dl *sdl;
830 sdl = (struct sockaddr_dl *)rt->rt_gateway;
831 if (sdl->sdl_index == ifp->if_index)
1689 struct sockaddr_dl *sdl = NULL;
1752 sdl = SDL(rt->rt_gateway);
1754 olladdr = (sdl->sdl_alen) ? 1 : 0;
1756 if (bcmp(lladdr, LLADDR(sdl), ifp->if_addrlen))
1779 sdl->sdl_alen = ifp->if_addrlen;
1780 bcopy(lladdr, LLADDR(sdl), ifp->if_addrlen);
2213 struct sockaddr_dl *sdl;
2247 sdl = SDL(rt->rt_gateway);
2248 if (sdl->sdl_alen == 0) {
2254 bcopy(LLADDR(sdl), desten, sdl->sdl_alen);
2272 struct sockaddr_dl *sdl = NULL;
2305 sdl = SDL(route->rt_gateway);
2306 if (sdl->sdl_alen == 0) {
2312 copy_len = sdl->sdl_len <= ll_dest_len ? sdl->sdl_len : ll_dest_len;
2313 bcopy(sdl, ll_dest, copy_len);