Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sock_set_flag

Proto:static inline void sock_set_flag(struct sock *sk, enum sock_flags flag)

Type:void

Parameter:

TypeParameterName
struct sock *sk
enum sock_flagsflag
832  __set_bit - Set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* Unlike set_bit(), this function is non-atomic. If it is called on the same* region of memory concurrently, the effect may be that only one operation* succeeds.