函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\net\tcp.h Create Date:2022-07-27 07:40:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Convert a nsec timestamp into TCP TSval timestamp (ms based currently)

函数原型:static inline u32 tcp_ns_to_ts(u64 ns)

返回类型:u32

参数:

类型参数名称
u64ns
774  返回:div_u64 - unsigned 64bit divide with 32bit divisor*@dividend: unsigned 64bit dividend*@divisor: unsigned 32bit divisor* This is the most common 64bit divide and should be used if possible,* as many 32bit archs can optimize this variant better than a full
调用者
名称描述
tcp_time_stamp_rawCould use tcp_clock_us() / 1000, but this version uses a single divide
tcp_skb_timestamp