Lines Matching defs:sdl
735 const struct sockaddr_dl *sdl = (const struct sockaddr_dl *)addr;
736 if (sdl->sdl_index && sdl->sdl_index <= if_index) {
737 ifa = ifnet_addrs[sdl->sdl_index - 1];
1130 struct sockaddr_dl *sdl = (struct sockaddr_dl *)sa;
1132 if ( (sa->sa_family != AF_LINK) || (sdl->sdl_nlen == 0) ||
1133 (sdl->sdl_nlen > IFNAMSIZ) )
1143 bcopy(sdl->sdl_data, ifname, sdl->sdl_nlen);
1144 ifname[sdl->sdl_nlen] = '\0';