Home | History | Annotate | Download | only in linux
      1 struct unix_diag_req {
      2 	uint8_t	 sdiag_family;
      3 	uint8_t	 sdiag_protocol;
      4 	uint16_t pad;
      5 	uint32_t udiag_states;
      6 	uint32_t udiag_ino;
      7 	uint32_t udiag_show;
      8 	uint32_t udiag_cookie[2];
      9 };
     10 
     11 #define UDIAG_SHOW_NAME		0x01
     12 #define UDIAG_SHOW_PEER		0x04
     13 
     14 struct unix_diag_msg {
     15 	uint8_t	 udiag_family;
     16 	uint8_t	 udiag_type;
     17 	uint8_t	 udiag_state;
     18 	uint8_t	 pad;
     19 	uint32_t udiag_ino;
     20 	uint32_t udiag_cookie[2];
     21 };
     22 
     23 #define UNIX_DIAG_NAME 0
     24 #define UNIX_DIAG_PEER 2
     25