Home
last modified time | relevance | path

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

/linux-6.12.1/net/core/
Ddst.c37 const struct dst_metrics dst_default_metrics = { variable
45 EXPORT_SYMBOL(dst_default_metrics);
54 dst_init_metrics(dst, dst_default_metrics.metrics, true); in dst_init()
217 new = ((unsigned long) &dst_default_metrics) | DST_METRICS_READ_ONLY; in __dst_destroy_metrics_generic()
Drtnetlink.c804 if (metrics == dst_default_metrics.metrics) in rtnetlink_put_metrics()
/linux-6.12.1/net/ipv4/
Dmetrics.c74 return (struct dst_metrics *)&dst_default_metrics; in ip_fib_metrics_init()
/linux-6.12.1/include/net/
Dip.h516 if (fib_metrics != &dst_default_metrics && in ip_fib_metrics_put()
527 if (fib_metrics != &dst_default_metrics) { in ip_dst_init_metrics()
538 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip_dst_metrics_put()
Ddst.h101 extern const struct dst_metrics dst_default_metrics;
/linux-6.12.1/net/ipv6/
Dip6_fib.c726 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
Droute.c290 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
3770 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()