~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/uapi/linux/sock_diag.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/uapi/linux/sock_diag.h (Architecture alpha) and /include/uapi/linux/sock_diag.h (Architecture mips)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2 #ifndef _UAPI__SOCK_DIAG_H__                        2 #ifndef _UAPI__SOCK_DIAG_H__
  3 #define _UAPI__SOCK_DIAG_H__                        3 #define _UAPI__SOCK_DIAG_H__
  4                                                     4 
  5 #include <linux/types.h>                            5 #include <linux/types.h>
  6                                                     6 
  7 #define SOCK_DIAG_BY_FAMILY 20                      7 #define SOCK_DIAG_BY_FAMILY 20
  8 #define SOCK_DESTROY 21                             8 #define SOCK_DESTROY 21
  9                                                     9 
 10 struct sock_diag_req {                             10 struct sock_diag_req {
 11         __u8    sdiag_family;                      11         __u8    sdiag_family;
 12         __u8    sdiag_protocol;                    12         __u8    sdiag_protocol;
 13 };                                                 13 };
 14                                                    14 
 15 enum {                                             15 enum {
 16         SK_MEMINFO_RMEM_ALLOC,                     16         SK_MEMINFO_RMEM_ALLOC,
 17         SK_MEMINFO_RCVBUF,                         17         SK_MEMINFO_RCVBUF,
 18         SK_MEMINFO_WMEM_ALLOC,                     18         SK_MEMINFO_WMEM_ALLOC,
 19         SK_MEMINFO_SNDBUF,                         19         SK_MEMINFO_SNDBUF,
 20         SK_MEMINFO_FWD_ALLOC,                      20         SK_MEMINFO_FWD_ALLOC,
 21         SK_MEMINFO_WMEM_QUEUED,                    21         SK_MEMINFO_WMEM_QUEUED,
 22         SK_MEMINFO_OPTMEM,                         22         SK_MEMINFO_OPTMEM,
 23         SK_MEMINFO_BACKLOG,                        23         SK_MEMINFO_BACKLOG,
 24         SK_MEMINFO_DROPS,                          24         SK_MEMINFO_DROPS,
 25                                                    25 
 26         SK_MEMINFO_VARS,                           26         SK_MEMINFO_VARS,
 27 };                                                 27 };
 28                                                    28 
 29 enum sknetlink_groups {                            29 enum sknetlink_groups {
 30         SKNLGRP_NONE,                              30         SKNLGRP_NONE,
 31         SKNLGRP_INET_TCP_DESTROY,                  31         SKNLGRP_INET_TCP_DESTROY,
 32         SKNLGRP_INET_UDP_DESTROY,                  32         SKNLGRP_INET_UDP_DESTROY,
 33         SKNLGRP_INET6_TCP_DESTROY,                 33         SKNLGRP_INET6_TCP_DESTROY,
 34         SKNLGRP_INET6_UDP_DESTROY,                 34         SKNLGRP_INET6_UDP_DESTROY,
 35         __SKNLGRP_MAX,                             35         __SKNLGRP_MAX,
 36 };                                                 36 };
 37 #define SKNLGRP_MAX     (__SKNLGRP_MAX - 1)        37 #define SKNLGRP_MAX     (__SKNLGRP_MAX - 1)
 38                                                    38 
 39 enum {                                             39 enum {
 40         SK_DIAG_BPF_STORAGE_REQ_NONE,              40         SK_DIAG_BPF_STORAGE_REQ_NONE,
 41         SK_DIAG_BPF_STORAGE_REQ_MAP_FD,            41         SK_DIAG_BPF_STORAGE_REQ_MAP_FD,
 42         __SK_DIAG_BPF_STORAGE_REQ_MAX,             42         __SK_DIAG_BPF_STORAGE_REQ_MAX,
 43 };                                                 43 };
 44                                                    44 
 45 #define SK_DIAG_BPF_STORAGE_REQ_MAX     (__SK_     45 #define SK_DIAG_BPF_STORAGE_REQ_MAX     (__SK_DIAG_BPF_STORAGE_REQ_MAX - 1)
 46                                                    46 
 47 enum {                                             47 enum {
 48         SK_DIAG_BPF_STORAGE_REP_NONE,              48         SK_DIAG_BPF_STORAGE_REP_NONE,
 49         SK_DIAG_BPF_STORAGE,                       49         SK_DIAG_BPF_STORAGE,
 50         __SK_DIAG_BPF_STORAGE_REP_MAX,             50         __SK_DIAG_BPF_STORAGE_REP_MAX,
 51 };                                                 51 };
 52                                                    52 
 53 #define SK_DIAB_BPF_STORAGE_REP_MAX     (__SK_     53 #define SK_DIAB_BPF_STORAGE_REP_MAX     (__SK_DIAG_BPF_STORAGE_REP_MAX - 1)
 54                                                    54 
 55 enum {                                             55 enum {
 56         SK_DIAG_BPF_STORAGE_NONE,                  56         SK_DIAG_BPF_STORAGE_NONE,
 57         SK_DIAG_BPF_STORAGE_PAD,                   57         SK_DIAG_BPF_STORAGE_PAD,
 58         SK_DIAG_BPF_STORAGE_MAP_ID,                58         SK_DIAG_BPF_STORAGE_MAP_ID,
 59         SK_DIAG_BPF_STORAGE_MAP_VALUE,             59         SK_DIAG_BPF_STORAGE_MAP_VALUE,
 60         __SK_DIAG_BPF_STORAGE_MAX,                 60         __SK_DIAG_BPF_STORAGE_MAX,
 61 };                                                 61 };
 62                                                    62 
 63 #define SK_DIAG_BPF_STORAGE_MAX        (__SK_D     63 #define SK_DIAG_BPF_STORAGE_MAX        (__SK_DIAG_BPF_STORAGE_MAX - 1)
 64                                                    64 
 65 #endif /* _UAPI__SOCK_DIAG_H__ */                  65 #endif /* _UAPI__SOCK_DIAG_H__ */
 66                                                    66 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php