Home
last modified time | relevance | path

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

/Linux-v5.10/net/core/
Ddst.c37 const struct dst_metrics dst_default_metrics = { variable
45 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()
Drtnetlink.c755 if (metrics == dst_default_metrics.metrics) in rtnetlink_put_metrics()
/Linux-v5.10/net/ipv4/
Dmetrics.c75 return (struct dst_metrics *)&dst_default_metrics; in ip_fib_metrics_init()
/Linux-v5.10/include/net/
Dip.h471 if (fib_metrics != &dst_default_metrics && in ip_fib_metrics_put()
482 if (fib_metrics != &dst_default_metrics) { in ip_dst_init_metrics()
493 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip_dst_metrics_put()
Ddst.h85 extern const struct dst_metrics dst_default_metrics;
/Linux-v5.10/net/ipv6/
Dip6_fib.c716 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
Droute.c301 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
3660 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()