Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Caller needs to wrap with rcu_read_(un)lock()

Proto:static inline struct tcp_fastopen_context *tcp_fastopen_get_ctx(const struct sock *sk)

Type:struct tcp_fastopen_context

Parameter:

TypeParameterName
const struct sock *sk
1679  ctx = fetch RCU-protected pointer for dereferencing(cipher context for cookie )
1680  If Not ctx Then ctx = fetch RCU-protected pointer for dereferencing(tcp_fastopen_ctx)
1682  Return ctx