Lines Matching refs:sdl
298 struct sockaddr_dl * sdl;
301 sdl = (struct sockaddr_dl *)(sin + 1);
320 if (sdl->sdl_alen != 0) {
321 ether_print((u_char *)LLADDR(sdl));
334 (sdl->sdl_len + (char *)sdl);
353 struct sockaddr_dl *sdl;
376 sdl = (struct sockaddr_dl *)(void *)(sin + 1);
506 struct sockaddr_dl * sdl;
525 * sdl safely */
526 sdl = (struct sockaddr_dl *)(void *)(sin->sin_len + (char *)sin);
527 if (sdl->sdl_family == AF_LINK && is_arp_sdl_type(sdl->sdl_type)) {
575 struct sockaddr_dl * sdl;
610 /* ALIGN: sin aligned sufficiently to dereference sdl safely */
611 sdl = (struct sockaddr_dl *)(void *)(sin->sin_len + (char *)sin);
612 if (sdl->sdl_family != AF_LINK) {