Home
last modified time | relevance | path

Searched refs:RTAX_MAX (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/net/ipv4/
H A Dmetrics.c24 if (type > RTAX_MAX) { in ip_metrics_convert()
29 type = array_index_nospec(type, RTAX_MAX + 1); in ip_metrics_convert()
H A Dfib_semantics.c465 sizeof(u32) * RTAX_MAX) == 0 && in fib_find_info()
506 payload += nla_total_size((RTAX_MAX * nla_total_size(4))); in fib_nlmsg_size()
1053 if (type > RTAX_MAX) in fib_metrics_match()
1056 type = array_index_nospec(type, RTAX_MAX + 1); in fib_metrics_match()
H A Droute.c2937 u32 metrics[RTAX_MAX]; in rt_fill_info()
/linux-6.15/include/net/
H A Dinetpeer.h40 u32 metrics[RTAX_MAX];
H A Ddst.h98 u32 metrics[RTAX_MAX];
155 memcpy(dst_metrics, src_metrics, RTAX_MAX * sizeof(u32)); in dst_copy_metrics()
/linux-6.15/net/mctp/
H A Droute.c1324 static const struct nla_policy rta_metrics_policy[RTAX_MAX + 1] = {
1332 struct nlattr *tbx[RTAX_MAX + 1]; in mctp_newroute()
1351 rc = nla_parse_nested(tbx, RTAX_MAX, tb[RTA_METRICS], in mctp_newroute()
/linux-6.15/include/uapi/linux/
H A Drtnetlink.h513 #define RTAX_MAX (__RTAX_MAX - 1) macro
/linux-6.15/net/bridge/
H A Dbr_private.h508 u32 metrics[RTAX_MAX];
/linux-6.15/net/ipv6/
H A Droute.c280 static const u32 ip6_template_metrics[RTAX_MAX] = {
5634 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
/linux-6.15/net/core/
H A Dpktgen.c2683 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
H A Drtnetlink.c983 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()