strace/xlat/nf_queue_attr_names.in
Eugene Syromyatnikov 02ad183786 netlink_netfilter: decode netfilter netlink attribute names
* xlat/nf_acct_attr_names.in: New file.
* xlat/nf_cthelper_attr_names.in: Likewise.
* xlat/nf_ctnetlink_attr_names.in: Likewise.
* xlat/nf_ctnetlink_exp_attr_names.in: Likewise.
* xlat/nf_ctnetlink_to_attr_names.in: Likewise.
* xlat/nf_ipset_attr_names.in: Likewise.
* xlat/nf_nft_compat_attr_names.in: Likewise.
* xlat/nf_nftables_msg_types.in: Likewise.
* xlat/nf_osf_attr_names.in: Likewise.
* xlat/nf_queue_attr_names.in: Likewise.
* xlat/nf_ulog_attr_names.in: Likewise.
* xlat/nft_chain_attr_names.in: Likewise.
* xlat/nft_flow_attr_names.in: Likewise.
* xlat/nft_gen_attr_names.in: Likewise.
* xlat/nft_obj_attr_names.in: Likewise.
* xlat/nft_rule_attr_names.in: Likewise.
* xlat/nft_set_attr_names.in: Likewise.
* xlat/nft_setelem_attr_names.in: Likewise.
* xlat/nft_table_attr_names.in: Likewise.
* xlat/nft_trace_attr_names.in: Likewise.
* netlink_netfilter.c (struct nfnl_decoder): New type definition.
(nft_subsystem_decoders, nfnl_subsystems): New static constants.
(decode_netlink_netfilter): Select xlat for attribute names based
on message subsystem.
* tests/netlink_netfilter.c: Update expected output.
2018-08-31 19:33:24 +02:00

22 lines
356 B
Plaintext

NFQA_UNSPEC 0
NFQA_PACKET_HDR 1
NFQA_VERDICT_HDR 2
NFQA_MARK 3
NFQA_TIMESTAMP 4
NFQA_IFINDEX_INDEV 5
NFQA_IFINDEX_OUTDEV 6
NFQA_IFINDEX_PHYSINDEV 7
NFQA_IFINDEX_PHYSOUTDEV 8
NFQA_HWADDR 9
NFQA_PAYLOAD 10
NFQA_CT 11
NFQA_CT_INFO 12
NFQA_CAP_LEN 13
NFQA_SKB_INFO 14
NFQA_EXP 15
NFQA_UID 16
NFQA_GID 17
NFQA_SECCTX 18
NFQA_VLAN 19
NFQA_L 20