Lines Matching defs:rtm
117 print_nhgroup_entry_sysctl(const char *name, struct rt_msghdr *rtm,
199 struct rt_msghdr *rtm;
227 for (next = buf; next < lim; next += rtm->rtm_msglen) {
228 rtm = (struct rt_msghdr *)next;
229 if (rtm->rtm_version != RTM_VERSION)
237 nhg = (struct nhgrp_external *)(rtm + 1);
239 nhg_map[nhg_count].rtm = rtm;
255 struct rt_msghdr *rtm;
270 rtm = nd.nh_map[i].rtm;
271 nhg = (struct nhgrp_external *)(rtm + 1);
272 print_nhgroup_entry_sysctl("nhgrp-entry", rtm, nhg);
314 struct rt_msghdr *rtm;
319 rtm = nd.nh_map[i].rtm;
320 nh = (struct nhop_external *)(rtm + 1);