Lines Matching defs:rtm
116 print_nhgroup_entry_sysctl(const char *name, struct rt_msghdr *rtm,
198 struct rt_msghdr *rtm;
226 for (next = buf; next < lim; next += rtm->rtm_msglen) {
227 rtm = (struct rt_msghdr *)next;
228 if (rtm->rtm_version != RTM_VERSION)
236 nhg = (struct nhgrp_external *)(rtm + 1);
238 nhg_map[nhg_count].rtm = rtm;
254 struct rt_msghdr *rtm;
269 rtm = nd.nh_map[i].rtm;
270 nhg = (struct nhgrp_external *)(rtm + 1);
271 print_nhgroup_entry_sysctl("nhgrp-entry", rtm, nhg);
313 struct rt_msghdr *rtm;
318 rtm = nd.nh_map[i].rtm;
319 nh = (struct nhop_external *)(rtm + 1);