Searched refs:mxrta (Results 1 – 2 of 2) sorted by relevance
519 struct rtattr *mxrta[RTAX_MAX+1]; in print_route() local521 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()523 if (mxrta[RTAX_LOCK]) in print_route()524 mxlock = *(unsigned*)RTA_DATA(mxrta[RTAX_LOCK]); in print_route()529 if (mxrta[i] == NULL) in print_route()539 val = *(unsigned*)RTA_DATA(mxrta[i]); in print_route()710 struct rtattr * mxrta = (void*)mxbuf; in iproute_modify() local735 mxrta->rta_type = RTA_METRICS; in iproute_modify()736 mxrta->rta_len = RTA_LENGTH(0); in iproute_modify()794 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_MTU, mtu); in iproute_modify()[all …]
1892 struct rtattr *mxrta = (void*)mxbuf; in route_update() local1928 mxrta->rta_type = RTA_METRICS; in route_update()1929 mxrta->rta_len = RTA_LENGTH(0); in route_update()2000 if (mxrta->rta_len > RTA_LENGTH(0)) { in route_update()2005 RTA_METRICS, RTA_DATA(mxrta), RTA_PAYLOAD(mxrta)); in route_update()