Lines Matching refs:rtm
81 struct rt_msghdr *rtm;
105 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
106 rtm = (struct rt_msghdr *)(void *)next;
107 if (rtm->rtm_version != RTM_VERSION)
109 switch (rtm->rtm_type) {
111 ifmam = (struct ifma_msghdr2 *)(void *)rtm;
141 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
142 rtm = (struct rt_msghdr *)(void *)next;
143 if (rtm->rtm_version != RTM_VERSION)
146 switch (rtm->rtm_type) {
148 ifmam = (struct ifma_msghdr2 *)(void *)rtm;