STRUCT NFT_USERDATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the Kernel API Manual page for struct nft_userdata(9) πŸ’– β€” user defined data associated with an object. that's the whole cute little job: it's the user defined data that gets associated with an object. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct nft_userdata {
           u8 len;
           unsigned char           data[];
        };

🧩 Members 🧩

  • len β€” length of the data.
  • data β€” content.

🌸 Description 🌸

okay so the presence of user data is indicated in an object specific fashion, which means a length of zero can't occur β€” no, literally, it's not a vibe that exists here. and the value len indicates data of length len + 1 (plus one, bestie, don't forget the plus one 🫢).

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./include/net/netfilter/nf_tables.h, and these are the related manual pages β€” collect them all, iykyk:

  • struct nft_verdict(9)
  • struct nft_regs(9)
  • struct nft_ctx(9)
  • struct nft_set_elem(9)
  • enum nft_iter_type(9)
  • struct nft_set_desc(9)
  • enum nft_set_class(9)
  • struct nft_set_estimate(9)
  • struct nft_expr(9)
  • struct nft_set_ops(9)
  • struct nft_set_type(9)
  • struct nft_set(9)
  • struct nft_set_binding(9)
  • enum nft_set_extensions(9)
  • struct nft_set_ext_type(9)
  • struct nft_set_ext_tmpl(9)
  • struct nft_set_ext(9)
  • struct nft_expr_type(9)
  • struct nft_expr_ops(9)
  • struct nft_rule(9)
  • struct nft_chain_validate_state(9)
  • struct nft_chain(9)
  • struct nft_chain_type(9)
  • struct nft_base_chain(9)
  • struct nft_table(9)
  • struct nft_object_hash_key(9)
  • struct nft_object(9)
  • struct nft_object_type(9)
  • struct nft_object_ops(9)
  • struct nft_flowtable(9)
  • struct nft_traceinfo(9)
  • struct nft_trans(9)
  • struct nft_trans_hook(9)
  • struct nft_trans_binding(9)

later bestie πŸ’œ β€” this page is from ./include/net/netfilter, dated October 2026, and it's the struct nft_userdata(9) manual entry. slay and stay hydrated. ✨

πŸ“¦ where this page comes from