Searched refs:dst_default_metrics (Results 1 – 8 of 8) sorted by relevance
37 const struct dst_metrics dst_default_metrics = { variable45 EXPORT_SYMBOL(dst_default_metrics);55 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()233 new = ((unsigned long) &dst_default_metrics) | DST_METRICS_READ_ONLY; in __dst_destroy_metrics_generic()
755 if (metrics == dst_default_metrics.metrics) in rtnetlink_put_metrics()
75 return (struct dst_metrics *)&dst_default_metrics; in ip_fib_metrics_init()
476 if (fib_metrics != &dst_default_metrics && in ip_fib_metrics_put()487 if (fib_metrics != &dst_default_metrics) { in ip_dst_init_metrics()498 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip_dst_metrics_put()
85 extern const struct dst_metrics dst_default_metrics;
901 dst_init_metrics(&net->newip.nip_null_entry->dst, dst_default_metrics.metrics, true); in nip_route_net_init()910 dst_init_metrics(&net->newip.nip_broadcast_entry->dst, dst_default_metrics.metrics, true); in nip_route_net_init()
718 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
284 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,3673 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()