Lines Matching refs:rtm
68 struct rtmsg rtm;
75 rtreq.rtm.rtm_family = AF_INET6;
76 rtreq.rtm.rtm_table = RT_TABLE_MAIN;
77 rtreq.rtm.rtm_protocol = RTPROT_UNSPEC;
79 rtreq.nh.nlmsg_len = NLMSG_SPACE(sizeof(rtreq.rtm));
165 struct rtmsg *rtm;
194 rtm = (struct rtmsg *)NLMSG_DATA(nh);
212 if (rtm->rtm_family == AF_INET6 /* should always be true */
213 && rtm->rtm_dst_len == 0
214 && rtm->rtm_table == RT_TABLE_MAIN)
228 for (rta = RTM_RTA(rtm);