Lines Matching refs:rtm
119 print_nhgroup_entry_sysctl(const char *name, struct rt_msghdr *rtm, in print_nhgroup_entry_sysctl() argument
201 struct rt_msghdr *rtm; in dump_nhgrp_sysctl() local
229 for (next = buf; next < lim; next += rtm->rtm_msglen) { in dump_nhgrp_sysctl()
230 rtm = (struct rt_msghdr *)next; in dump_nhgrp_sysctl()
231 if (rtm->rtm_version != RTM_VERSION) in dump_nhgrp_sysctl()
239 nhg = (struct nhgrp_external *)(rtm + 1); in dump_nhgrp_sysctl()
241 nhg_map[nhg_count].rtm = rtm; in dump_nhgrp_sysctl()
257 struct rt_msghdr *rtm; in print_nhgrp_sysctl() local
272 rtm = nd.nh_map[i].rtm; in print_nhgrp_sysctl()
273 nhg = (struct nhgrp_external *)(rtm + 1); in print_nhgrp_sysctl()
274 print_nhgroup_entry_sysctl("nhgrp-entry", rtm, nhg); in print_nhgrp_sysctl()
316 struct rt_msghdr *rtm; in prepare_nh_map() local
321 rtm = nd.nh_map[i].rtm; in prepare_nh_map()
322 nh = (struct nhop_external *)(rtm + 1); in prepare_nh_map()