Searched refs:metric (Results 1 – 7 of 7) sorted by relevance
/busybox-1.35.0/examples/udhcp/ |
D | sample.bound | 18 metric=0 28 route add default gw $i dev $interface metric $((metric++))
|
D | sample.renew | 18 metric=0 28 route add default gw $i dev $interface metric $((metric++))
|
D | simple.script | 42 metric=0 52 route add default gw $i dev $interface metric $((metric++))
|
/busybox-1.35.0/networking/ |
D | route.c | 496 int flgs, ref, use, metric, mtu, win, ir; in bb_displayroutes() local 516 devname, &d, &g, &flgs, &ref, &use, &metric, &m, in bb_displayroutes() 550 printf("%-6d %-2d %7d %s\n", metric, ref, use, devname); in bb_displayroutes() 569 int iflags, metric, refcnt, use, prefix_len, slen; in INET6_displayroutes() local 582 &metric, &refcnt, &use, &iflags, iface); in INET6_displayroutes() 632 addr6, naddr6, flags, metric, refcnt, use, iface); in INET6_displayroutes()
|
D | interface.c | 324 #define FIRST_TO_ZERO metric 325 int metric; /* routing metric */ member 617 ife->metric = ifr.ifr_metric; in if_fetch() 1009 printf(" MTU:%d Metric:%d", ptr->mtu, ptr->metric ? ptr->metric : 1); in ife_print()
|
D | ntpd.c | 1111 double metric; member 1118 if (a->metric < b->metric) { in compare_survivor_metric() 1121 return (a->metric > b->metric); in compare_survivor_metric() 1292 survivor[num_survivors].metric = MAXDIST * p->lastpkt_stratum + point[i].opt_rd; in select_and_cluster() 1294 num_survivors, survivor[num_survivors].metric, p->p_dotted); in select_and_cluster()
|
/busybox-1.35.0/networking/libiproute/ |
D | iproute.c | 485 uint32_t metric; in iproute_modify() local 487 metric = get_u32(*argv, "metric"); in iproute_modify() 488 addattr32(&req.n, sizeof(req), RTA_PRIORITY, metric); in iproute_modify()
|