Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tcp_too_many_orphans

Proto:static inline bool tcp_too_many_orphans(struct sock *sk, int shift)

Type:bool

Parameter:

TypeParameterName
struct sock *sk
intshift
292  ocp = orphan_count
293  orphans = percpu_counter is intended to track positive numbers. In the UP case the* number should never be negative.
295  If orphans << shift > sysctl variables for tcp Then
296  orphans = percpu_counter_sum_positive(ocp)
297  If orphans << shift > sysctl variables for tcp Then Return true
300  Return false