STRUCT FLOW_DISSECTOR_KEY_CONTROL(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

struct flow_dissector_key_control β€” (the man page literally just drops the hyphen and says nothing else, and honestly? iconic minimalism πŸ’…)

This page lives in the Kernel API Manual, section 9 β€” yes bestie, the deep kernel struct section, we're going there 🧚


🌸 SYNOPSIS 🌸

struct flow_dissector_key_control {
    u16 thoff;
    u16 addr_type;
    u32 flags;
 };

Three fields. That's it. That's the whole struct. Small, but lowkey does a LOT of heavy lifting in the flow dissector ✨


πŸ’– Members πŸ’–

  • thoff β€” the transport header offset πŸŽ€ like, where the transport header actually starts.
  • addr_type β€” the type of key, and it's one of the FLOW_DISSECTOR_KEY_* family. Pick your fighter 🫢
  • flags β€” the key flags, and they can be any of FLOW_DIS_(IS_FRAGMENT|FIRST_FRAG|ENCAPSULATION|F_*) ⭐ (yep, that whole group, F_* included, no cap).
ngl this is a struct you read once and then keep in a notes app forever πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

This is where it gets main-character β€” bestie has a whole friend group of sibling structs, all hanging out in the kernel file ./include/net/flow_dissector.h 🌈

  • struct flow_dissector_key_basic(9)
  • struct flow_dissector_key_enc_opts(9)
  • struct flow_dissector_key_ipv4_addrs(9)
  • struct flow_dissector_key_ipv6_addrs(9)
  • struct flow_dissector_key_tipc(9)
  • struct flow_dissector_key_addrs(9)
  • struct flow_dissector_key_arp(9)
  • struct flow_dissector_key_ports(9)
  • struct flow_dissector_key_ports_range(9)
  • struct flow_dissector_key_icmp(9)
  • struct flow_dissector_key_eth_addrs(9)
  • struct flow_dissector_key_tcp(9)
  • struct flow_dissector_key_ip(9)
  • struct flow_dissector_key_meta(9)
  • struct flow_dissector_key_ct(9)
  • struct flow_dissector_key_hash(9)
  • struct flow_dissector_key_num_of_vlans(9)
  • struct flow_dissector_key_pppoe(9)
  • struct flow_dissector_key_l2tpv3(9)
  • struct flow_dissector_key_ipsec(9)
  • struct flow_dissector_key_cfm(9)

That's twenty-one little struct besties and they all said "we're a family" πŸ’€πŸ’–


πŸŽ€ cute lil sign-off time: this gem comes from ./include/net, dated October 2026, and it's filed under struct flow..._key_control(9) β€” yes, the header literally shortens the name with ... and honestly it ate. periodt. πŸ‘‘βœ¨
πŸ“¦ where this page comes from