Dmitry V. Levin
3c8149a0f2
* linux/dummy.h: Add #include guard. * linux/inet_diag.h: Likewise. * linux/netlink_diag.h: Likewise. * linux/sock_diag.h: Likewise. * linux/syscall.h: Likewise. * linux/unix_diag.h: Likewise.
30 lines
563 B
C
30 lines
563 B
C
#ifndef STRACE_LINUX_UNIX_DIAG_H
|
|
#define STRACE_LINUX_UNIX_DIAG_H
|
|
|
|
struct unix_diag_req {
|
|
uint8_t sdiag_family;
|
|
uint8_t sdiag_protocol;
|
|
uint16_t pad;
|
|
uint32_t udiag_states;
|
|
uint32_t udiag_ino;
|
|
uint32_t udiag_show;
|
|
uint32_t udiag_cookie[2];
|
|
};
|
|
|
|
#define UDIAG_SHOW_NAME 0x01
|
|
#define UDIAG_SHOW_PEER 0x04
|
|
|
|
struct unix_diag_msg {
|
|
uint8_t udiag_family;
|
|
uint8_t udiag_type;
|
|
uint8_t udiag_state;
|
|
uint8_t pad;
|
|
uint32_t udiag_ino;
|
|
uint32_t udiag_cookie[2];
|
|
};
|
|
|
|
#define UNIX_DIAG_NAME 0
|
|
#define UNIX_DIAG_PEER 2
|
|
|
|
#endif /* !STRACE_LINUX_UNIX_DIAG_H */
|