]> granicus.if.org Git - strace/commit
netlink: decode NETLINK_NETFILTER netlink message types
authorJingPiao Chen <chenjingpiao@gmail.com>
Sat, 9 Sep 2017 09:42:41 +0000 (17:42 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 24 Sep 2017 10:07:57 +0000 (10:07 +0000)
commitc5d6bccdb02cea5c2fe4cf405749561cba0bb7e7
treedd98cf7aae518b0c8b7ec640f4311663afc9b84e
parent2d3a6978107504f06dcb03880fc79b9ed8555203
netlink: decode NETLINK_NETFILTER netlink message types

* netlink.c: Include "xlat/nf_acct_msg_types.h",
"xlat/nf_cthelper_msg_types.h", "xlat/nf_ctnetlink_exp_msg_types.h",
"xlat/nf_ctnetlink_msg_types.h", "xlat/nf_cttimeout_msg_types.h",
"xlat/nf_ipset_msg_types.h", "xlat/nf_nft_compat_msg_types.h",
"xlat/nf_nftables_msg_types.h", "xlat/nf_osf_msg_types.h",
"xlat/nf_queue_msg_types.h", and "xlat/nf_ulog_msg_types.h".
(nf_nlmsg_types): New array.
(decode_nlmsg_type_netfilter): Use it.
* NEWS: Mention this.
* xlat/nf_acct_msg_types.in: New file.
* xlat/nf_cthelper_msg_types.in: Likewise.
* xlat/nf_ctnetlink_exp_msg_types.in: Likewise.
* xlat/nf_ctnetlink_msg_types.in: Likewise.
* xlat/nf_cttimeout_msg_types.in: Likewise.
* xlat/nf_ipset_msg_types.in: Likewise.
* xlat/nf_nft_compat_msg_types.in: Likewise.
* xlat/nf_nftables_msg_types.in: Likewise.
* xlat/nf_osf_msg_types.in: Likewise.
* xlat/nf_queue_msg_types.in: Likewise.
* xlat/nf_ulog_msg_types.in: Likewise.
* tests/netlink_netfilter.c (test_nlmsg_type): Update expected output.
14 files changed:
NEWS
netlink.c
tests/netlink_netfilter.c
xlat/nf_acct_msg_types.in [new file with mode: 0644]
xlat/nf_cthelper_msg_types.in [new file with mode: 0644]
xlat/nf_ctnetlink_exp_msg_types.in [new file with mode: 0644]
xlat/nf_ctnetlink_msg_types.in [new file with mode: 0644]
xlat/nf_cttimeout_msg_types.in [new file with mode: 0644]
xlat/nf_ipset_msg_types.in [new file with mode: 0644]
xlat/nf_nft_compat_msg_types.in [new file with mode: 0644]
xlat/nf_nftables_msg_types.in [new file with mode: 0644]
xlat/nf_osf_msg_types.in [new file with mode: 0644]
xlat/nf_queue_msg_types.in [new file with mode: 0644]
xlat/nf_ulog_msg_types.in [new file with mode: 0644]