Home | History | Annotate | Download | only in ndp

Lines Matching refs:sdl

294 	register struct sockaddr_dl *sdl;
335 sdl = (struct sockaddr_dl *)(void *)(RT_ROUNDUP(mysin->sin6_len) + (char *)(void *)mysin);
337 if (sdl->sdl_family == AF_LINK &&
339 switch (sdl->sdl_type) {
353 if (sdl->sdl_family != AF_LINK) {
357 sdl_m.sdl_type = sdl->sdl_type;
358 sdl_m.sdl_index = sdl->sdl_index;
420 struct sockaddr_dl *sdl;
424 sdl = (struct sockaddr_dl *)(void *)(RT_ROUNDUP(mysin->sin6_len) +
427 if (sdl->sdl_family != AF_LINK) {
464 struct sockaddr_dl *sdl;
508 sdl = (struct sockaddr_dl *)(void *)((char *)(void *)mysin + RT_ROUNDUP(mysin->sin6_len));
523 if (sdl->sdl_family != AF_LINK)
545 mysin->sin6_scope_id = sdl->sdl_index;
568 llwidth = strlen(ether_str(sdl));
571 ifname = if_indextoname((unsigned int)sdl->sdl_index, ifix_buf);
579 sdl), ifwidth,
584 (unsigned int)sdl->sdl_index, 1);
682 ether_str(struct sockaddr_dl *sdl)
686 if (sdl->sdl_alen) {
687 if (getnameinfo((struct sockaddr *)(void *)sdl,
688 (socklen_t)sdl->sdl_len,