Lines Matching defs:rtm
238 print_nhop_entry_sysctl(const char *name, struct rt_msghdr *rtm, struct nhop_external *nh)
286 print_flags_generic(rtm->rtm_flags, rt_bits, buffer, "rt_flags_pretty");
342 struct rt_msghdr *rtm;
370 for (next = buf; next < lim; next += rtm->rtm_msglen) {
371 rtm = (struct rt_msghdr *)next;
372 if (rtm->rtm_version != RTM_VERSION)
380 nh = (struct nhop_external *)(rtm + 1);
382 nh_map[nh_count].rtm = rtm;
399 struct rt_msghdr *rtm;
406 nh = (struct nhop_external *)(nd.nh_map[0].rtm + 1);
425 rtm = nd.nh_map[i].rtm;
426 nh = (struct nhop_external *)(rtm + 1);
427 print_nhop_entry_sysctl("nh-entry", rtm, nh);