Searched refs:rtflags (Results 1 – 3 of 3) sorted by relevance
204 uint32_t rtflags = nhop_get_rtflags(wn[i].nh); in dump_rc_nhg() local 205 if (rtflags != base_rtflags) in dump_rc_nhg() 206 nlattr_add_u32(nw, NL_RTA_RTFLAGS, rtflags); in dump_rc_nhg() 207 if (rtflags & RTF_FIXEDMTU) in dump_rc_nhg() 230 uint32_t rtflags = nhop_get_rtflags(nh); in dump_rc_nhop() local 247 nlattr_add_u32(nw, NL_RTA_RTFLAGS, rtflags); in dump_rc_nhop() 249 if (rtflags & RTF_FIXEDMTU) in dump_rc_nhop()
2277 uint32_t rtflags; in sysctl_dumpnhop() local2279 rtflags = nhop_get_rtflags(nh); in sysctl_dumpnhop()2281 if (w->w_op == NET_RT_FLAGS && !(rtflags & w->w_arg)) in sysctl_dumpnhop()2287 info.rti_info[RTAX_NETMASK] = (rtflags & RTF_HOST) ? NULL : w->mask; in sysctl_dumpnhop()2308 rtm->rtm_flags = rtflags | RTF_UP; in sysctl_dumpnhop()
217 static const char *rtflags(struct rt_msghdr *);2499 rtflags(struct rt_msghdr *rtm) in rtflags() function2750 rtflags(rtm)); in rt_entry()2768 inet6_n2p(&np->rip6_dest), np->rip6_plen, rtflags(rtm)); in rt_entry()2804 rtflags(rtm)); in rt_entry()