Function report |
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 activity | Download SCCT | Chinese |
Name:sock_diag_destroy_group
Proto:static inline enum sknetlink_groups sock_diag_destroy_group(const struct sock *sk)
Type:enum sknetlink_groups
Parameter:
| Type | Parameter | Name |
|---|---|---|
| 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 |
| 46 | Return SKNLGRP_INET_TCP_DESTROY |
| 47 | Case sk_protocol == IPPROTO_UDP |
| 48 | Return SKNLGRP_INET_UDP_DESTROY |
| 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 |
| 58 | Return SKNLGRP_INET6_TCP_DESTROY |
| 59 | Case sk_protocol == IPPROTO_UDP |
| 60 | Return SKNLGRP_INET6_UDP_DESTROY |
| 61 | Default |
| 62 | Return SKNLGRP_NONE |
| 64 | Default |
| 65 | Return SKNLGRP_NONE |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |