Home
last modified time | relevance | path

Searched refs:rmx_weight (Results 1 – 7 of 7) sorted by relevance

/freebsd/tests/sys/net/routing/
H A Dtest_rtsock_multipath.py113 msg.rtm_rmx.rmx_weight = weight
126 assert msg_in.rtm_rmx.rmx_weight == self.rtsock.get_weight(weight)
213 msg.rtm_rmx.rmx_weight = 0
/freebsd/sys/net/
H A Droute.h88 u_long rmx_weight; /* route weight */ member
99 #define rmx_state rmx_weight
H A Drtsock.c1018 rtm->rtm_rmx.rmx_weight = rc->rc_nh_weight; in update_rtm_from_rc()
1327 out->rmx_weight = rt->rt_weight; in rt_getmetrics()
2313 rtm->rtm_rmx.rmx_weight = weight; in sysctl_dumpnhop()
/freebsd/sbin/route/
H A Droute_netlink.c266 if (rt_metrics->rmx_weight > 0) in rtmsg_nl_int()
267 snl_add_msg_attr_u32(&nw, NL_RTA_WEIGHT, rt_metrics->rmx_weight); in rtmsg_nl_int()
376 .rmx_weight = r.rtax_weight, in print_getmsg()
387 printf("%8lu ", rmx.rmx_weight); in print_getmsg()
H A Droute.c812 caseof(K_WEIGHT, RTV_WEIGHT, rmx_weight); in set_metric()
1850 printf("%8lu%c ", rtm->rtm_rmx.rmx_weight, lock(WEIGHT)); in print_getmsg()
/freebsd/usr.bin/netstat/
H A Droute.c330 xo_emit("{e:weight/%u}", rtm->rtm_rmx.rmx_weight); in p_rtentry_sysctl()
/freebsd/sys/net/route/
H A Droute_ctl.c211 weight = info->rti_rmx->rmx_weight; in get_info_weight()