Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:ip4_dst_hoplimit

Proto:static inline int ip4_dst_hoplimit(const struct dst_entry *dst)

Type:int

Parameter:

TypeParameterName
const struct dst_entry *dst
353  hoplimit = dst_metric_raw(dst, RTAX_HOPLIMIT)
354  net = Net namespace inlines
356  If hoplimit == 0 Then hoplimit = sysctl_ip_default_ttl
358  Return hoplimit