Home
last modified time | relevance | path

Searched refs:dst_default_metrics (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/net/core/
Ddst.c53 const struct dst_metrics dst_default_metrics = { variable
61 EXPORT_SYMBOL(dst_default_metrics);
71 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()
245 new = ((unsigned long) &dst_default_metrics) | DST_METRICS_READ_ONLY; in __dst_destroy_metrics_generic()
/Linux-v4.19/include/net/
Ddst.h97 extern const struct dst_metrics dst_default_metrics;
/Linux-v4.19/net/ipv6/
Dip6_fib.c163 f6i->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in fib6_info_alloc()
209 if (m != &dst_default_metrics && refcount_dec_and_test(&m->refcnt)) in fib6_info_destroy_rcu()
639 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
Droute.c298 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
372 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip6_dst_destroy()
982 if (from->fib6_metrics != &dst_default_metrics) { in rt6_set_from()
/Linux-v4.19/net/ipv4/
Dfib_semantics.c223 if (m != &dst_default_metrics && refcount_dec_and_test(&m->refcnt)) in free_fib_info_rcu()
1093 fi->fib_metrics = (struct dst_metrics *)&dst_default_metrics; in fib_create_info()
Droute.c1488 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ipv4_dst_destroy()
1538 if (fi->fib_metrics != &dst_default_metrics) { in rt_set_nexthop()