Lines Matching refs:su
552 } su; in if_route() local
556 char buffer[sizeof(su) * RTAX_MAX]; in if_route()
566 l = RT_ROUNDUP(su.sa.sa_len); \ in if_route()
567 memcpy(bp, &su, l); \ in if_route()
571 memset(&su, 0, sizeof(su)); \ in if_route()
572 su.sin.sin_family = AF_INET; \ in if_route()
573 su.sin.sin_len = sizeof(su.sin); \ in if_route()
574 (&su.sin)->sin_addr = *addr; \ in if_route()
652 if_linkaddr(&su.sdl, rt->iface); in if_route()
666 if_linkaddr(&su.sdl, rt->iface); in if_route()
940 } su; in if_route6() local
944 char buffer[sizeof(su) * RTAX_MAX]; in if_route6()
954 l = RT_ROUNDUP(su.sa.sa_len); \ in if_route6()
955 memcpy(bp, &su, l); \ in if_route6()
959 memset(&su, 0, sizeof(su)); \ in if_route6()
960 su.sin.sin6_family = AF_INET6; \ in if_route6()
961 su.sin.sin6_len = sizeof(su.sin); \ in if_route6()
962 (&su.sin)->sin6_addr = *addr; \ in if_route6()
964 ifa_scope(&su.sin, scope); \ in if_route6()
998 if_linkaddr(&su.sdl, rt->iface); in if_route6()
1013 if_linkaddr(&su.sdl, rt->iface); in if_route6()