Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /* AF_TIPC sock_diag interface for querying open sockets */
0003 
0004 #ifndef _UAPI__TIPC_SOCKETS_DIAG_H__
0005 #define _UAPI__TIPC_SOCKETS_DIAG_H__
0006 
0007 #include <linux/types.h>
0008 #include <linux/sock_diag.h>
0009 
0010 /* Request */
0011 struct tipc_sock_diag_req {
0012     __u8    sdiag_family;   /* must be AF_TIPC */
0013     __u8    sdiag_protocol; /* must be 0 */
0014     __u16   pad;        /* must be 0 */
0015     __u32   tidiag_states;  /* query*/
0016 };
0017 #endif /* _UAPI__TIPC_SOCKETS_DIAG_H__ */