Searched refs:fib6_metrics (Results 1 – 3 of 3) sorted by relevance
181 struct dst_metrics *fib6_metrics; member182 #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]547 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
176 ip_fib_metrics_put(f6i->fib6_metrics); in fib6_info_destroy_rcu()718 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()725 f6i->fib6_metrics = p; in fib6_metric_set()728 f6i->fib6_metrics->metrics[metric - 1] = val; in fib6_metric_set()
284 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,1111 ip_dst_init_metrics(&rt->dst, from->fib6_metrics); in rt6_set_from()3667 rt->fib6_metrics = ip_fib_metrics_init(net, cfg->fc_mx, cfg->fc_mx_len, in ip6_route_info_create()3669 if (IS_ERR(rt->fib6_metrics)) { in ip6_route_info_create()3670 err = PTR_ERR(rt->fib6_metrics); in ip6_route_info_create()3672 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()3746 ip_fib_metrics_put(rt->fib6_metrics); in ip6_route_info_create()5590 pmetrics = dst ? dst_metrics_ptr(dst) : rt->fib6_metrics->metrics; in rt6_fill_node()