Lines Matching refs:rtm
66 struct rt_msghdr *rtm;
90 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
91 rtm = (struct rt_msghdr *)(void *)next;
92 if (rtm->rtm_version != RTM_VERSION)
94 switch (rtm->rtm_type) {
96 ifmam = (struct ifma_msghdr *)(void *)rtm;
126 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
127 rtm = (struct rt_msghdr *)(void *)next;
128 if (rtm->rtm_version != RTM_VERSION)
131 switch (rtm->rtm_type) {
133 ifmam = (struct ifma_msghdr *)(void *)rtm;