Lines Matching refs:sdl
390 register struct sockaddr_dl *sdl;
436 sdl = (struct sockaddr_dl *)(ROUNDUP(sin->sin6_len) + (char *)sin);
438 if (sdl->sdl_family == AF_LINK &&
440 !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) {
453 if (sdl->sdl_family != AF_LINK) {
457 sdl_m.sdl_type = sdl->sdl_type;
458 sdl_m.sdl_index = sdl->sdl_index;
506 struct sockaddr_dl *sdl;
533 sdl = (struct sockaddr_dl *)(ROUNDUP(sin->sin6_len) + (char *)sin);
535 if (sdl->sdl_family == AF_LINK &&
548 if (sdl->sdl_family != AF_LINK) {
587 struct sockaddr_dl *sdl;
625 sdl = (struct sockaddr_dl *)((char *)sin +
641 if (sdl->sdl_family != AF_LINK)
655 sin->sin6_scope_id = sdl->sdl_index;
676 llwidth = strlen(ether_str(sdl));
679 ifname = if_indextoname(sdl->sdl_index, ifix_buf);
687 llwidth, llwidth, ether_str(sdl), ifwidth, ifwidth, ifname);
690 nbi = getnbrinfo(&sin->sin6_addr, sdl->sdl_index, 1);
741 (sdl->sdl_len + (char *)sdl);
780 struct sockaddr_dl *sdl;
823 sdl = (struct sockaddr_dl *)((char *)sin +
839 if (sdl->sdl_family != AF_LINK)
853 sin->sin6_scope_id = sdl->sdl_index;
874 llwidth = strlen(ether_str(sdl));
877 ifname = if_indextoname(sdl->sdl_index, ifix_buf);
885 llwidth, llwidth, ether_str(sdl), ifwidth, ifwidth, ifname);
906 nbi = getnbrinfo(&sin->sin6_addr, sdl->sdl_index, 1);
949 (sdl->sdl_len + (char *)sdl);
1050 ether_str(struct sockaddr_dl *sdl)
1055 if (sdl->sdl_alen) {
1056 cp = (u_char *)LLADDR(sdl);