Lines Matching refs:sdl
487 const struct sockaddr_dl *sdl = local
495 if (sdl->sdl_nlen == 0 && sdl->sdl_alen == 0 && sdl->sdl_slen == 0) {
496 n = snprintf(host, hostlen, "link#%u", sdl->sdl_index);
505 switch (sdl->sdl_type) {
508 if (sdl->sdl_alen < 2)
510 if (CLLADDR(sdl)[1] == 0)
511 n = snprintf(host, hostlen, "%u", CLLADDR(sdl)[0]);
514 CLLADDR(sdl)[1], CLLADDR(sdl)[0]);
522 if (sdl->sdl_alen < sizeof(iha->iha_uid))
525 (const struct ieee1394_hwaddr *)(const void *)CLLADDR(sdl);
551 return hexname((const u_int8_t *)CLLADDR(sdl),
552 (size_t)sdl->sdl_alen, host, hostlen);