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