Lines Matching defs:rtm
237 print_nhop_entry_sysctl(const char *name, struct rt_msghdr *rtm, struct nhop_external *nh)
285 print_flags_generic(rtm->rtm_flags, rt_bits, buffer, "rt_flags_pretty");
341 struct rt_msghdr *rtm;
369 for (next = buf; next < lim; next += rtm->rtm_msglen) {
370 rtm = (struct rt_msghdr *)next;
371 if (rtm->rtm_version != RTM_VERSION)
379 nh = (struct nhop_external *)(rtm + 1);
381 nh_map[nh_count].rtm = rtm;
398 struct rt_msghdr *rtm;
405 nh = (struct nhop_external *)(nd.nh_map[0].rtm + 1);
424 rtm = nd.nh_map[i].rtm;
425 nh = (struct nhop_external *)(rtm + 1);
426 print_nhop_entry_sysctl("nh-entry", rtm, nh);