strace/xlat/inet_diag_extended_flags.in
JingPiao Chen 6fbbf72dcd netlink: add a basic socket diag parser of AF_INET and AF_INET6 messages
* defs.h (inet_protocols): New xlat prototype.
* linux/inet_diag.h (inet_diag_req): New structure.
(INET_DIAG_*): New enum.
* netlink_sock_diag.c: Include <arpa/inet.h>, <linux/inet_diag.h>
and "xlat/inet_diag_extended_flags.h".
(print_inet_diag_sockid, decode_inet_diag_req_compat)
(decode_inet_diag_req_v2, decode_inet_diag_req)
(decode_inet_diag_msg): New functions.
(diag_decoders): Add AF_INET and AF_INET6;
* xlat/inet_diag_extended_flags.in: New file.

Co-authored-by: Fabien Siron <fabien.siron@epita.fr>
2017-06-15 23:52:47 +00:00

18 lines
403 B
Plaintext

#unconditional
1<<(INET_DIAG_MEMINFO-1)
1<<(INET_DIAG_INFO-1)
1<<(INET_DIAG_VEGASINFO-1)
1<<(INET_DIAG_CONG-1)
1<<(INET_DIAG_TOS-1)
1<<(INET_DIAG_TCLASS-1)
1<<(INET_DIAG_SKMEMINFO-1)
1<<(INET_DIAG_SHUTDOWN-1)
1<<(INET_DIAG_DCTCPINFO-1)
1<<(INET_DIAG_PROTOCOL-1)
1<<(INET_DIAG_SKV6ONLY-1)
1<<(INET_DIAG_LOCALS-1)
1<<(INET_DIAG_PEERS-1)
1<<(INET_DIAG_PAD-1)
1<<(INET_DIAG_MARK-1)
1<<(INET_DIAG_BBRINFO-1)