Searched refs:fib6_metrics (Results 1 – 3 of 3) sorted by relevance
182 struct dst_metrics *fib6_metrics; member183 #define fib6_pmtu fib6_metrics->metrics[RTAX_MTU-1]543 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
178 ip_fib_metrics_put(f6i->fib6_metrics); in fib6_info_destroy_rcu()720 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()727 f6i->fib6_metrics = p; in fib6_metric_set()730 f6i->fib6_metrics->metrics[metric - 1] = val; in fib6_metric_set()
291 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,1116 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()5694 pmetrics = dst ? dst_metrics_ptr(dst) : rt->fib6_metrics->metrics; in rt6_fill_node()