Lines Matching refs:RTAX_DST
245 __CTASSERT(RTAX_DST == 0);
612 "for info->rti_info[RTAX_DST] %s "
616 RT_IN_PRINT(info, abuf, RTAX_DST),
674 info.rti_info[RTAX_DST] = NULL;
679 info.rti_info[RTAX_DST] = NULL;
684 info.rti_info[RTAX_DST] = NULL;
689 info.rti_info[RTAX_DST] = NULL;
700 if (info.rti_info[RTAX_DST] == NULL ||
701 (info.rti_info[RTAX_DST]->sa_family >= AF_MAX)) {
705 if (info.rti_info[RTAX_DST]->sa_family == AF_INET) {
707 printf("%s: extracted info.rti_info[RTAX_DST] %s\n", __func__,
708 RT_IN_PRINT(&info, abuf, RTAX_DST));
732 * Use the family of RTAX_DST, because RTAX_NETMASK
737 info.rti_info[RTAX_DST]->sa_family);
774 info.rti_info[RTAX_DST]->sa_family == AF_INET) {
784 info.rti_info[RTAX_DST];
825 info.rti_info[RTAX_DST] = rt_getkey(rt);
841 /* XXX This will mask info.rti_info[RTAX_DST] with
850 if (memcmp(info.rti_info[RTAX_DST], rt_getkey(rt),
851 info.rti_info[RTAX_DST]->sa_len) != 0)
871 sockaddr_cmp(rt_getkey(rt), info.rti_info[RTAX_DST]) != 0) {
873 route_get_sdl(rt->rt_ifp, info.rti_info[RTAX_DST], &sdl,
891 info.rti_info[RTAX_DST] = rt_getkey(rt);
962 family = info.rti_info[RTAX_DST] ? info.rti_info[RTAX_DST]->sa_family :
1407 const struct sockaddr *sa = rtinfo->rti_info[RTAX_DST];
1545 info.rti_info[RTAX_DST] = sa = rt_getkey(rt);