Home
last modified time | relevance | path

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

/openbmc/linux/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.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()
1024 if (type > RTAX_MAX) in fib_metrics_match()
1027 type = array_index_nospec(type, RTAX_MAX + 1); in fib_metrics_match()
H A Droute.c2941 u32 metrics[RTAX_MAX]; in rt_fill_info()
/openbmc/linux/net/bridge/
H A Dbr_nf_core.c68 static const u32 br_dst_default_metrics[RTAX_MAX] = {
/openbmc/linux/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()
/openbmc/linux/net/mctp/
H A Droute.c1236 static const struct nla_policy rta_metrics_policy[RTAX_MAX + 1] = {
1244 struct nlattr *tbx[RTAX_MAX + 1]; in mctp_newroute()
1263 rc = nla_parse_nested(tbx, RTAX_MAX, tb[RTA_METRICS], in mctp_newroute()
/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h503 #define RTAX_MAX (__RTAX_MAX - 1) macro
/openbmc/linux/net/ipv6/
H A Droute.c282 static const u32 ip6_template_metrics[RTAX_MAX] = {
5565 + RTAX_MAX * nla_total_size(4) /* RTA_METRICS */ in rt6_nlmsg_size()
/openbmc/linux/net/core/
H A Dpktgen.c2628 static u32 pktgen_dst_metrics[RTAX_MAX + 1] = {
H A Drtnetlink.c796 for (i = 0; i < RTAX_MAX; i++) { in rtnetlink_put_metrics()