Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\dst.h Create Date:2022-07-28 06:08:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dst_metric

Proto:static inline u32 dst_metric(const struct dst_entry *dst, const int metric)

Type:u32

Parameter:

TypeParameterName
const struct dst_entry *dst
const intmetric
160  WARN_ON_ONCE(metric == RTAX_HOPLIMIT || metric == RTAX_ADVMSS || metric == RTAX_MTU)
163  Return dst_metric_raw(dst, metric)