Home
last modified time | relevance | path

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

/openbmc/linux/net/core/
H A 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()
219 new = ((unsigned long) &dst_default_metrics) | DST_METRICS_READ_ONLY; in __dst_destroy_metrics_generic()
H A Drtnetlink.c818 if (metrics == dst_default_metrics.metrics) in rtnetlink_put_metrics()
/openbmc/linux/net/ipv4/
H A Dmetrics.c74 return (struct dst_metrics *)&dst_default_metrics; in ip_fib_metrics_init()
/openbmc/linux/include/net/
H A Dip.h504 if (fib_metrics != &dst_default_metrics && in ip_fib_metrics_put()
515 if (fib_metrics != &dst_default_metrics) { in ip_dst_init_metrics()
526 if (p != &dst_default_metrics && refcount_dec_and_test(&p->refcnt)) in ip_dst_metrics_put()
H A Ddst.h101 extern const struct dst_metrics dst_default_metrics;
/openbmc/linux/net/ipv6/
H A Dip6_fib.c719 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
H A Droute.c292 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
3762 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()