Home
last modified time | relevance | path

Searched refs:rtflags (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netlink/route/
H A Drt.c184 uint32_t base_rtflags, rtflags, nhop_weight; in dump_rc_nhg() local
191 rtflags = nhop_get_rtflags(nh); in dump_rc_nhg()
203 if (rtflags & RTF_FIXEDMTU) in dump_rc_nhg()
221 uint32_t rtflags = nhop_get_rtflags(wn[i].nh); in dump_rc_nhg() local
222 if (rtflags != base_rtflags) in dump_rc_nhg()
223 nlattr_add_u32(nw, NL_RTA_RTFLAGS, rtflags); in dump_rc_nhg()
224 if (rtflags & RTF_FIXEDMTU) in dump_rc_nhg()
247 uint32_t rtflags, uidx, nh_expire; in dump_rc_nhop() local
254 rtflags = nhop_get_rtflags(nh); in dump_rc_nhop()
270 nlattr_add_u32(nw, NL_RTA_RTFLAGS, rtflags); in dump_rc_nhop()
[all …]
/freebsd/sys/net/
H A Drtsock.c2279 uint32_t rtflags; in sysctl_dumpnhop() local
2281 rtflags = nhop_get_rtflags(nh); in sysctl_dumpnhop()
2283 if (w->w_op == NET_RT_FLAGS && !(rtflags & w->w_arg)) in sysctl_dumpnhop()
2289 info.rti_info[RTAX_NETMASK] = (rtflags & RTF_HOST) ? NULL : w->mask; in sysctl_dumpnhop()
2310 rtm->rtm_flags = rtflags | RTF_UP; in sysctl_dumpnhop()
/freebsd/usr.sbin/route6d/
H A Droute6d.c217 static const char *rtflags(struct rt_msghdr *);
2499 rtflags(struct rt_msghdr *rtm) in rtflags() function
2750 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()