Searched refs:RTAX_MAX (Results 1 – 11 of 11) 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()
430 sizeof(u32) * RTAX_MAX) == 0 && in fib_find_info()476 payload += nla_total_size((RTAX_MAX * nla_total_size(4))); in fib_nlmsg_size()1023 if (type > RTAX_MAX) in fib_metrics_match()1026 type = array_index_nospec(type, RTAX_MAX + 1); in fib_metrics_match()
2878 u32 metrics[RTAX_MAX]; in rt_fill_info()
68 static const u32 br_dst_default_metrics[RTAX_MAX] = {
40 u32 metrics[RTAX_MAX];
98 u32 metrics[RTAX_MAX];155 memcpy(dst_metrics, src_metrics, RTAX_MAX * sizeof(u32)); in dst_copy_metrics()
1300 static const struct nla_policy rta_metrics_policy[RTAX_MAX + 1] = {1308 struct nlattr *tbx[RTAX_MAX + 1]; in mctp_newroute()1327 rc = nla_parse_nested(tbx, RTAX_MAX, tb[RTA_METRICS], in mctp_newroute()
503 #define RTAX_MAX (__RTAX_MAX - 1) macro
280 static const u32 ip6_template_metrics[RTAX_MAX] = {5574 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
2649 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
811 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()