strace/xlat/netlink_protocols.in
Dmitry V. Levin 3a838cd31a xlat: provide fallback definitions for NETLINK_* constants
As new constants have been added gradually over kernel releases, define
all constant values to make newer constants decoded properly when strace
is built with older kernel headers.

* xlat/netlink_protocols.in: Add default values for constants.
* net.c [!NETLINK_SOCK_DIAG && NETLINK_INET_DIAG]: Remove.
* socketutils.c: Likewise.
2016-12-14 08:09:10 +00:00

22 lines
409 B
Plaintext

NETLINK_ROUTE 0
NETLINK_UNUSED 1
NETLINK_USERSOCK 2
NETLINK_FIREWALL 3
NETLINK_SOCK_DIAG 4
NETLINK_NFLOG 5
NETLINK_XFRM 6
NETLINK_SELINUX 7
NETLINK_ISCSI 8
NETLINK_AUDIT 9
NETLINK_FIB_LOOKUP 10
NETLINK_CONNECTOR 11
NETLINK_NETFILTER 12
NETLINK_IP6_FW 13
NETLINK_DNRTMSG 14
NETLINK_KOBJECT_UEVENT 15
NETLINK_GENERIC 16
NETLINK_SCSITRANSPORT 18
NETLINK_ECRYPTFS 19
NETLINK_RDMA 20
NETLINK_CRYPTO 21