Searched refs:RTAX_MAX (Results 1 – 14 of 14) sorted by relevance
68 static const u32 br_dst_default_metrics[RTAX_MAX] = {
26 if (type > RTAX_MAX) { in ip_metrics_convert()
417 sizeof(u32) * RTAX_MAX) == 0 && in fib_find_info()464 payload += nla_total_size((RTAX_MAX * nla_total_size(4))); in fib_nlmsg_size()1005 if (type > RTAX_MAX) in fib_metrics_match()
2924 u32 metrics[RTAX_MAX]; in rt_fill_info()
40 u32 metrics[RTAX_MAX];
39 __u32 fib_metrics[RTAX_MAX];
83 u32 metrics[RTAX_MAX];140 memcpy(dst_metrics, src_metrics, RTAX_MAX * sizeof(u32)); in dst_copy_metrics()
1138 static const struct nla_policy rta_metrics_policy[RTAX_MAX + 1] = {1146 struct nlattr *tbx[RTAX_MAX + 1]; in mctp_newroute()1165 rc = nla_parse_nested(tbx, RTAX_MAX, tb[RTA_METRICS], in mctp_newroute()
494 #define RTAX_MAX (__RTAX_MAX - 1) macro
304 if (type > RTAX_MAX || type == RTAX_CC_ALGO || in dn_fib_create_info()
283 payload += nla_total_size((RTAX_MAX * nla_total_size(4))); in dn_fib_nlmsg_size()
276 static const u32 ip6_template_metrics[RTAX_MAX] = {5573 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
2632 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
755 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()
Completed in 54 milliseconds