Home | History | Annotate | Download | only in ip

Lines Matching full:mxrta

567 		struct rtattr *mxrta[RTAX_MAX+1];
569 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]),
571 if (mxrta[RTAX_LOCK])
572 mxlock = rta_getattr_u32(mxrta[RTAX_LOCK]);
577 if (mxrta[i] == NULL && !(mxlock & (1 << i)))
580 if (mxrta[i] != NULL && i != RTAX_CC_ALGO)
581 val = rta_getattr_u32(mxrta[i]);
616 fprintf(fp, "%s ", rta_getattr_str(mxrta[i]));
861 struct rtattr *mxrta = (void *)mxbuf;
878 mxrta->rta_type = RTA_METRICS;
879 mxrta->rta_len = RTA_LENGTH(0);
977 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_MTU, mtu);
988 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_HOPLIMIT, hoplimit);
999 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_ADVMSS, mss);
1010 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_REORDERING, reord);
1021 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_RTT,
1031 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_RTO_MIN,
1043 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_WINDOW, win);
1054 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_CWND, win);
1065 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_INITCWND, win);
1076 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_INITRWND, win);
1090 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_FEATURES, features);
1099 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_QUICKACK, quickack);
1106 rta_addattr_l(mxrta, sizeof(mxbuf), RTAX_CC_ALGO, *argv,
1118 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_RTTVAR,
1130 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_SSTHRESH, win);
1261 if (mxrta->rta_len > RTA_LENGTH(0)) {
1263 rta_addattr32(mxrta, sizeof(mxbuf), RTAX_LOCK, mxlock);
1264 addattr_l(&req.n, sizeof(req), RTA_METRICS, RTA_DATA(mxrta), RTA_PAYLOAD(mxrta));