Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diproute.c483 struct rtattr *mxrta[RTAX_MAX+1]; in print_route() local
485 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()
487 if (mxrta[RTAX_LOCK]) in print_route()
488 mxlock = *(unsigned*)RTA_DATA(mxrta[RTAX_LOCK]); in print_route()
493 if (mxrta[i] == NULL) in print_route()
505 val = *(unsigned*)RTA_DATA(mxrta[i]); in print_route()
679 struct rtattr * mxrta = (void*)mxbuf; in iproute_modify() local
706 mxrta->rta_type = RTA_METRICS; in iproute_modify()
707 mxrta->rta_len = RTA_LENGTH(0); in iproute_modify()
765 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_MTU, mtu); in iproute_modify()
[all …]