ENUM NFT_TRACE_ATTRIBUTES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the enum nft_trace_attributes(9) page from the Kernel API Manual πŸ’… this is literally the nf_tables trace netlink attributes enum β€” the guest list of netlink attrs that show up when tracing nf_tables. no cap, it's giving β€œpacket receipts” energy. ✨


✨ SYNOPSIS ✨

the enum is literally:

enum nft_trace_attributes {
    NFTA_TRACE_UNSPEC ,
    NFTA_TRACE_TABLE ,
    NFTA_TRACE_CHAIN ,
    NFTA_TRACE_RULE_HANDLE ,
    NFTA_TRACE_TYPE ,
    NFTA_TRACE_VERDICT ,
    NFTA_TRACE_ID ,
    NFTA_TRACE_LL_HEADER ,
    NFTA_TRACE_NETWORK_HEADER ,
    NFTA_TRACE_TRANSPORT_HEADER ,
    NFTA_TRACE_IIF ,
    NFTA_TRACE_IIFTYPE ,
    NFTA_TRACE_OIF ,
    NFTA_TRACE_OIFTYPE ,
    NFTA_TRACE_MARK ,
    NFTA_TRACE_NFPROTO ,
    NFTA_TRACE_POLICY ,
    NFTA_TRACE_PAD ,
    NFTA_TRACE_CT_ID ,
    NFTA_TRACE_CT_DIRECTION ,
    NFTA_TRACE_CT_STATUS ,
    NFTA_TRACE_CT_STATE ,
    __NFTA_TRACE_MAX

};

πŸŽ€ Constants πŸŽ€

every single one, same order, no skips β€” this is the whole squad:

  • NFTA_TRACE_UNSPEC β€” -- undescribed -- (the manpage really just says that, bestie πŸ™ˆ)
  • NFTA_TRACE_TABLE β€” name of the table (NLA_STRING) πŸͺ„
  • NFTA_TRACE_CHAIN β€” name of the chain (NLA_STRING) πŸ”—
  • NFTA_TRACE_RULE_HANDLE β€” numeric handle of the rule (NLA_U64) πŸ”’
  • NFTA_TRACE_TYPE β€” type of the event (NLA_U32: nft_trace_types) 🌟
  • NFTA_TRACE_VERDICT β€” verdict returned by hook (NLA_NESTED: nft_verdicts) βš–οΈ
  • NFTA_TRACE_ID β€” pseudo-id, same for each skb traced (NLA_U32) πŸ†”
  • NFTA_TRACE_LL_HEADER β€” linklayer header (NLA_BINARY) 🧱
  • NFTA_TRACE_NETWORK_HEADER β€” network header (NLA_BINARY) 🌐
  • NFTA_TRACE_TRANSPORT_HEADER β€” transport header (NLA_BINARY) 🚚
  • NFTA_TRACE_IIF β€” indev ifindex (NLA_U32) πŸ“₯
  • NFTA_TRACE_IIFTYPE β€” netdev->type of indev (NLA_U16) 🏷️
  • NFTA_TRACE_OIF β€” outdev ifindex (NLA_U32) πŸ“€
  • NFTA_TRACE_OIFTYPE β€” netdev->type of outdev (NLA_U16) 🏷️
  • NFTA_TRACE_MARK β€” nfmark (NLA_U32) πŸ–οΈ
  • NFTA_TRACE_NFPROTO β€” nf protocol processed (NLA_U32) πŸ“‘
  • NFTA_TRACE_POLICY β€” policy that decided fate of packet (NLA_U32) πŸ‘‘
  • NFTA_TRACE_PAD β€” -- undescribed -- (again, no tea from the manpage πŸ™ˆ)
  • NFTA_TRACE_CT_ID β€” conntrack id (NLA_U32) 🧾
  • NFTA_TRACE_CT_DIRECTION β€” packets direction (NLA_U8) 🧭
  • NFTA_TRACE_CT_STATUS β€” conntrack status (NLA_U32) πŸ“Š
  • NFTA_TRACE_CT_STATE β€” packet state (new, established, ...) (NLA_U32) 🫧
  • __NFTA_TRACE_MAX β€” -- undescribed -- (the final boss and still undescribed 😭)
bestie, when it says -- undescribed --, that’s the manpage being shy β€” no invented lore from me, fr fr 🫢

🌈 SEE ALSO 🌈

the whole enum friend group is linked here, and not a single one is getting left on read:

  • Kernel file ./include/uapi/linux/netfilter/nf_tables.h πŸ“
  • enum nft_registers(9)
  • enum nft_verdicts(9)
  • enum nf_tables_msg_types(9)
  • enum nft_list_attributes(9)
  • enum nft_hook_attributes(9)
  • enum nft_table_flags(9)
  • enum nft_table_attributes(9)
  • enum nft_chain_attributes(9)
  • enum nft_rule_attributes(9)
  • enum nft_rule_compat_flags(9)
  • enum nft_rule_compat_attributes(9)
  • enum nft_set_flags(9)
  • enum nft_set_policies(9)
  • enum nft_set_desc_attributes(9)
  • enum nft_set_field_attributes(9)
  • enum nft_set_attributes(9)
  • enum nft_set_elem_flags(9)
  • enum nft_set_elem_attributes(9)
  • enum nft_set_elem_list_attributes(9)
  • enum nft_data_types(9)
  • enum nft_data_attributes(9)
  • enum nft_verdict_attributes(9)
  • enum nft_expr_attributes(9)
  • enum nft_immediate_attributes(9)
  • enum nft_bitwise_ops(9)
  • enum nft_bitwise_attributes(9)
  • enum nft_byteorder_ops(9)
  • enum nft_byteorder_attributes(9)
  • enum nft_cmp_ops(9)
  • enum nft_cmp_attributes(9)
  • enum nft_range_ops(9)
  • enum nft_range_attributes(9)
  • enum nft_lookup_attributes(9)
  • enum nft_dynset_attributes(9)
  • enum nft_payload_bases(9)
  • enum nft_payload_csum_types(9)
  • enum nft_payload_attributes(9)
  • enum nft_exthdr_op(9)
  • enum nft_exthdr_attributes(9)
  • enum nft_meta_keys(9)
  • enum nft_rt_keys(9)
  • enum nft_hash_types(9)
  • enum nft_hash_attributes(9)
  • enum nft_meta_attributes(9)
  • enum nft_rt_attributes(9)
  • enum nft_socket_attributes(9)
  • enum nft_ct_keys(9)
  • enum nft_ct_attributes(9)
  • enum nft_offload_attributes(9)
  • enum nft_limit_attributes(9)
  • enum nft_connlimit_attributes(9)
  • enum nft_counter_attributes(9)
  • enum nft_last_attributes(9)
  • enum nft_log_attributes(9)
  • enum nft_log_level(9)
  • enum nft_queue_attributes(9)
  • enum nft_quota_attributes(9)
  • enum nft_secmark_attributes(9)
  • enum nft_reject_types(9)
  • enum nft_reject_inet_code(9)
  • enum nft_reject_attributes(9)
  • enum nft_nat_types(9)
  • enum nft_nat_attributes(9)
  • enum nft_tproxy_attributes(9)
  • enum nft_masq_attributes(9)
  • enum nft_redir_attributes(9)
  • enum nft_dup_attributes(9)
  • enum nft_fwd_attributes(9)
  • enum nft_objref_attributes(9)
  • enum nft_gen_attributes(9)
  • enum nft_object_attributes(9)
  • enum nft_flowtable_flags(9)
  • enum nft_flowtable_attributes(9)
  • enum nft_flowtable_hook_attributes(9)
  • enum nft_osf_attributes(9)
  • enum nft_synproxy_attributes(9)
  • enum nft_devices_attributes(9)
  • enum nft_ng_attributes(9)

mwah πŸ’‹ source: ./include/uapi/linux/netfilter β€” date/version line: October 2026 β€” manual: enum nft_trace_attributes(9). that’s the whole page, ily, bye! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from