函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sock_recv_ts_and_drops

函数原型:static inline void sock_recv_ts_and_drops(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)

返回类型:void

参数:

类型参数名称
struct msghdr *msg
struct sock *sk
struct sk_buff *skb
2406  如果sk_flags按位与FLAGS_TS_OR_DROPSsk_tsflags按位与TSFLAGS_ANY__sock_recv_ts_and_drops(msg, sk, skb)
2408  否则如果此条件成立可能性小(为编译器优化)(sock_flag(sk, SOCK_TIMESTAMP))则sock_write_timestamp(sk, tstamp)
2410  否则如果此条件成立可能性小(为编译器优化)(sk_stamp == SK_DEFAULT_STAMP)则sock_write_timestamp(sk, 0)