Lines Matching defs:rtm
89 struct rt_msghdr *rtm;
134 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
135 rtm = (struct rt_msghdr *)(void *)next;
136 if (rtm->rtm_version != RTM_VERSION)
138 switch (rtm->rtm_type) {
140 ifm = (struct if_msghdrl *)(void *)rtm;
155 ifam = (struct ifa_msghdrl *)(void *)rtm;
217 for (next = buf; next < buf + needed; next += rtm->rtm_msglen) {
218 rtm = (struct rt_msghdr *)(void *)next;
219 if (rtm->rtm_version != RTM_VERSION)
221 switch (rtm->rtm_type) {
223 ifm = (struct if_msghdrl *)(void *)rtm;
254 ifam = (struct ifa_msghdrl *)(void *)rtm;