Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/ipv4/
Dmetrics.c75 return (struct dst_metrics *)&dst_default_metrics; in ip_fib_metrics_init()
/kernel/linux/linux-5.10/include/net/
Dip.h476 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()
Ddst.h85 extern const struct dst_metrics dst_default_metrics;
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Droute.c901 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()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c718 if (f6i->fib6_metrics == &dst_default_metrics) { in fib6_metric_set()
Droute.c284 .fib6_metrics = (struct dst_metrics *)&dst_default_metrics,
3673 rt->fib6_metrics = (struct dst_metrics *)&dst_default_metrics; in ip6_route_info_create()