Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv4/
Dmetrics.c24 if (type > RTAX_MAX) { in ip_metrics_convert()
29 type = array_index_nospec(type, RTAX_MAX + 1); in ip_metrics_convert()
Dfib_semantics.c430 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()
Droute.c2878 u32 metrics[RTAX_MAX]; in rt_fill_info()
/linux-6.12.1/net/bridge/
Dbr_nf_core.c68 static const u32 br_dst_default_metrics[RTAX_MAX] = {
/linux-6.12.1/include/net/
Dinetpeer.h40 u32 metrics[RTAX_MAX];
Ddst.h98 u32 metrics[RTAX_MAX];
155 memcpy(dst_metrics, src_metrics, RTAX_MAX * sizeof(u32)); in dst_copy_metrics()
/linux-6.12.1/net/mctp/
Droute.c1300 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()
/linux-6.12.1/include/uapi/linux/
Drtnetlink.h503 #define RTAX_MAX (__RTAX_MAX - 1) macro
/linux-6.12.1/net/ipv6/
Droute.c280 static const u32 ip6_template_metrics[RTAX_MAX] = {
5574 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
/linux-6.12.1/net/core/
Dpktgen.c2649 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
Drtnetlink.c811 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()