strace/xlat/nft_set_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

18 lines
327 B
Plaintext

NFTA_SET_UNSPEC 0
NFTA_SET_TABLE 1
NFTA_SET_NAME 2
NFTA_SET_FLAGS 3
NFTA_SET_KEY_TYPE 4
NFTA_SET_KEY_LEN 5
NFTA_SET_DATA_TYPE 6
NFTA_SET_DATA_LEN 7
NFTA_SET_POLICY 8
NFTA_SET_DESC 9
NFTA_SET_ID 10
NFTA_SET_TIMEOUT 11
NFTA_SET_GC_INTERVAL 12
NFTA_SET_USERDATA 13
NFTA_SET_PAD 14
NFTA_SET_OBJ_TYPE 15
NFTA_SET_HANDLE 16