1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 #ifndef _UAPI__SOCK_DIAG_H__
3 #define _UAPI__SOCK_DIAG_H__
5 #include <linux/types.h>
7 #define SOCK_DIAG_BY_FAMILY 20
8 #define SOCK_DESTROY 21
10 struct sock_diag_req
{
16 SK_MEMINFO_RMEM_ALLOC
,
18 SK_MEMINFO_WMEM_ALLOC
,
21 SK_MEMINFO_WMEM_QUEUED
,
29 enum sknetlink_groups
{
31 SKNLGRP_INET_TCP_DESTROY
,
32 SKNLGRP_INET_UDP_DESTROY
,
33 SKNLGRP_INET6_TCP_DESTROY
,
34 SKNLGRP_INET6_UDP_DESTROY
,
37 #define SKNLGRP_MAX (__SKNLGRP_MAX - 1)
39 #endif /* _UAPI__SOCK_DIAG_H__ */