Home
last modified time | relevance | path

Searched refs:fib6_metrics (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/net/
Dip6_fib.h182 struct dst_metrics *fib6_metrics; member
183 #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]
537 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
/linux-6.6.21/net/ipv6/
Dip6_fib.c177 ip_fib_metrics_put(f6i->fib6_metrics); in fib6_info_destroy_rcu()
719 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
726 f6i->fib6_metrics = p; in fib6_metric_set()
729 f6i->fib6_metrics->metrics[metric - 1] = val; in fib6_metric_set()
Droute.c291 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
1117 ip_dst_init_metrics(&rt->dst, from->fib6_metrics); in rt6_set_from()
3753 rt->fib6_metrics = ip_fib_metrics_init(net, cfg->fc_mx, cfg->fc_mx_len, in ip6_route_info_create()
3755 if (IS_ERR(rt->fib6_metrics)) { in ip6_route_info_create()
3756 err = PTR_ERR(rt->fib6_metrics); in ip6_route_info_create()
3758 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()
3832 ip_fib_metrics_put(rt->fib6_metrics); in ip6_route_info_create()
5693 pmetrics = dst ? dst_metrics_ptr(dst) : rt->fib6_metrics->metrics; in rt6_fill_node()