ENUM NFT_LIMIT_ATTRIBUTES(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ enum nft_limit_attributes(9) โœจ

okay so bestie, welcome to the Kernel API Manual ๐Ÿ’… this is the page for enum nft_limit_attributes โ€” the nf_tables limit expression netlink attributes. yes, that's a mouthful, no cap. let's get into it ๐ŸŽ€


๐ŸŒธ NAME ๐ŸŒธ

enum nft_limit_attributes โ€” the nf_tables limit expression netlink attributes. literally what it says on the tin, bestie ๐Ÿซถ


โœจ SYNOPSIS โœจ

enum nft_limit_attributes {
    NFTA_LIMIT_UNSPEC ,
    NFTA_LIMIT_RATE ,
    NFTA_LIMIT_UNIT ,
    NFTA_LIMIT_BURST ,
    NFTA_LIMIT_TYPE ,
    NFTA_LIMIT_FLAGS ,
    NFTA_LIMIT_PAD ,
    __NFTA_LIMIT_MAX

};

look at that enum just vibing ๐Ÿ˜Œ all the members, exactly as they are, no edits, periodt.


๐Ÿฆ‹ Constants ๐Ÿฆ‹

here's the whole squad, one by one ๐Ÿ‘‘

  • NFTA_LIMIT_UNSPEC โ€” -- undescribed -- ๐Ÿ˜ญ the source gives us literally nothing on this one, it's giving mysterious main character energy. we respect it.
  • NFTA_LIMIT_RATE โ€” the refill rate, typed NLA_U64 ๐Ÿ’ง
  • NFTA_LIMIT_UNIT โ€” the refill unit, also NLA_U64 ๐Ÿงฎ
  • NFTA_LIMIT_BURST โ€” burst, typed NLA_U32 ๐Ÿ”ฅ
  • NFTA_LIMIT_TYPE โ€” type of limit, NLA_U32: enum nft_limit_type ๐Ÿ‘‘
  • NFTA_LIMIT_FLAGS โ€” flags, NLA_U32: enum nft_limit_flags ๐ŸŽ€
  • NFTA_LIMIT_PAD โ€” -- undescribed -- ๐Ÿ™ˆ again, the docs said "no thoughts, head empty". iconic honestly.
  • __NFTA_LIMIT_MAX โ€” -- undescribed -- ๐Ÿ’€ yeah this one's also a mystery in the source. we don't make the rules, we just relay them fr fr.

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

first up, the source of truth: Kernel file ./include/uapi/linux/netfilter/nf_tables.h ๐Ÿ“

and then the whole extended fam โ€” every single one of these, no skips, no shortcuts ๐Ÿ’–

  • 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_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_trace_attributes(9)
  • enum nft_ng_attributes(9)

like i said. the whole fam. read them, love them, link them ๐Ÿ’…


ngl bestie if you got all the way down here you're lowkey built different ๐Ÿ‘‘ go read the actual header too, it's ./include/uapi/linux/netfilter/nf_tables.h โ€” iykyk ๐Ÿงš

okay that's the page!! from the ./include/uapi/linux/netfilter corner of the kernel, dated October 2026, and yes the header title is enum nft_limit_attributes(9) in case you forgot already ๐Ÿ˜ญ slay, go write some netlink attrs, ily bye ๐Ÿ’–โœจ๐ŸŒธ

๐Ÿ“ฆ where this page comes from