Searched refs:RTAX_MAX (Results 1 – 9 of 9) sorted by relevance
24 if (type > RTAX_MAX) { in ip_metrics_convert() 29 type = array_index_nospec(type, RTAX_MAX + 1); in ip_metrics_convert()
2949 u32 metrics[RTAX_MAX]; in rt_fill_info()
40 u32 metrics[RTAX_MAX];
98 u32 metrics[RTAX_MAX];155 memcpy(dst_metrics, src_metrics, RTAX_MAX * sizeof(u32)); in dst_copy_metrics()
1397 static const struct nla_policy rta_metrics_policy[RTAX_MAX + 1] = {1527 struct nlattr *tbx[RTAX_MAX + 1]; in mctp_route_nlparse_populate() 1550 rc = nla_parse_nested(tbx, RTAX_MAX, tb[RTA_METRICS], in mctp_route_nlparse_populate()
513 #define RTAX_MAX (__RTAX_MAX - 1) macro
280 static const u32 ip6_template_metrics[RTAX_MAX] = {5712 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
2692 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
983 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()