Home
last modified time | relevance | path

Searched refs:metric (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/include/net/
Ddst.h161 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() argument
165 return p[metric-1]; in dst_metric_raw()
169 dst_metric(const struct dst_entry *dst, const int metric) in dst_metric() argument
171 WARN_ON_ONCE(metric == RTAX_HOPLIMIT || in dst_metric()
172 metric == RTAX_ADVMSS || in dst_metric()
173 metric == RTAX_MTU); in dst_metric()
174 return dst_metric_raw(dst, metric); in dst_metric()
188 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val) in dst_metric_set() argument
193 p[metric-1] = val; in dst_metric_set()
214 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric) in dst_metric_rtt() argument
[all …]
Dip6_fib.h465 void fib6_metric_set(struct fib6_info *f6i, int metric, u32 val);
466 static inline bool fib6_metric_locked(struct fib6_info *f6i, int metric) in fib6_metric_locked() argument
468 return !!(f6i->fib6_metrics->metrics[RTAX_LOCK - 1] & (1 << metric)); in fib6_metric_locked()
Dcfg80211.h1436 u32 metric; member