Home
last modified time | relevance | path

Searched refs:mxrta (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/ip/
Diproute.c567 struct rtattr *mxrta[RTAX_MAX+1]; in print_route() local
569 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()
571 if (mxrta[RTAX_LOCK]) in print_route()
572 mxlock = rta_getattr_u32(mxrta[RTAX_LOCK]); in print_route()
577 if (mxrta[i] == NULL && !(mxlock & (1 << i))) in print_route()
580 if (mxrta[i] != NULL && i != RTAX_CC_ALGO) in print_route()
581 val = rta_getattr_u32(mxrta[i]); in print_route()
616 fprintf(fp, "%s ", rta_getattr_str(mxrta[i])); in print_route()
861 struct rtattr *mxrta = (void *)mxbuf; in iproute_modify() local
878 mxrta->rta_type = RTA_METRICS; in iproute_modify()
[all …]
/external/toybox/toys/pending/
Dip.c1888 struct rtattr *mxrta = (void*)mxbuf; in route_update() local
1924 mxrta->rta_type = RTA_METRICS; in route_update()
1925 mxrta->rta_len = RTA_LENGTH(0); in route_update()
1996 if (mxrta->rta_len > RTA_LENGTH(0)) { in route_update()
2001 RTA_METRICS, RTA_DATA(mxrta), RTA_PAYLOAD(mxrta)); in route_update()