Lines Matching defs:sdl
887 struct sockaddr_dl *sdl;
890 sdl = SDL(interface->if_addrhead.tqh_first->ifa_addr);
893 if (lladdr_len != sdl->sdl_alen) {
897 bcopy(LLADDR(sdl), lladdr, lladdr_len);
898 if (bcmp(lladdr, LLADDR(sdl), lladdr_len) == 0 &&
899 lladdr_len == sdl->sdl_alen)
914 struct sockaddr_dl *sdl;
925 sdl = (struct sockaddr_dl*)ifa->ifa_addr;
927 bcopy(lladdr, LLADDR(sdl), lladdr_len);
930 bzero(LLADDR(sdl), interface->if_addrlen);
932 sdl->sdl_alen = lladdr_len;
935 sdl->sdl_type = new_type;