• Home
  • Raw
  • Download

Lines Matching refs:sdl

152 if_linkaddr(struct sockaddr_dl *sdl, const struct interface *ifp)  in if_linkaddr()  argument
155 memset(sdl, 0, sizeof(*sdl)); in if_linkaddr()
156 sdl->sdl_family = AF_LINK; in if_linkaddr()
157 sdl->sdl_len = sizeof(*sdl); in if_linkaddr()
158 sdl->sdl_nlen = sdl->sdl_alen = sdl->sdl_slen = 0; in if_linkaddr()
159 sdl->sdl_index = (unsigned short)ifp->index; in if_linkaddr()
277 if_findsdl(struct dhcpcd_ctx *ctx, struct sockaddr_dl *sdl) in if_findsdl() argument
280 if (sdl->sdl_nlen) { in if_findsdl()
282 memcpy(ifname, sdl->sdl_data, sdl->sdl_nlen); in if_findsdl()
283 ifname[sdl->sdl_nlen] = '\0'; in if_findsdl()
525 struct sockaddr_dl *sdl; in if_copyrt() local
527 sdl = (struct sockaddr_dl *)(void *)rti_info[RTAX_IFP]; in if_copyrt()
528 rt->iface = if_findsdl(ctx, sdl); in if_copyrt()
551 struct sockaddr_dl sdl; in if_route() member
652 if_linkaddr(&su.sdl, rt->iface); in if_route()
666 if_linkaddr(&su.sdl, rt->iface); in if_route()
914 struct sockaddr_dl *sdl; in if_copyrt6() local
916 sdl = (struct sockaddr_dl *)(void *)rti_info[RTAX_IFP]; in if_copyrt6()
917 rt->iface = if_findsdl(ctx, sdl); in if_copyrt6()
939 struct sockaddr_dl sdl; in if_route6() member
998 if_linkaddr(&su.sdl, rt->iface); in if_route6()
1013 if_linkaddr(&su.sdl, rt->iface); in if_route6()
1157 struct sockaddr_dl sdl; in if_managelink() local
1250 memcpy(&sdl, in if_managelink()
1252 sizeof(sdl)); in if_managelink()
1254 sdl.sdl_alen = 0; in if_managelink()
1257 sdl.sdl_alen ? in if_managelink()
1290 memcpy(&sdl, rti_info[RTAX_IFA], in if_managelink()
1293 (const unsigned char*)CLLADDR(&sdl), in if_managelink()
1294 sdl.sdl_alen); in if_managelink()