Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sock_diag.h Create Date:2022-07-28 13:29:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sock_diag_destroy_group

Proto:static inline enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk)

Type:enum sknetlink_groups

Parameter:

TypeParameterName
const struct sock *sk
40  Case sk_family == Internet IP Protocol
41  If sk_type == SOCK_RAW Then Return SKNLGRP_NONE
45  Case sk_protocol == IPPROTO_TCP
47  Case sk_protocol == IPPROTO_UDP
49  Default
50  Return SKNLGRP_NONE
52  Case sk_family == IP version 6
53  If sk_type == SOCK_RAW Then Return SKNLGRP_NONE
57  Case sk_protocol == IPPROTO_TCP
59  Case sk_protocol == IPPROTO_UDP
61  Default
62  Return SKNLGRP_NONE
64  Default
65  Return SKNLGRP_NONE