STRUCT FLOW_DISSECTOR_KEY_CONTROL(9)
β¨ 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 theFLOW_DISSECTOR_KEY_*family. Pick your fighter π«Άflagsβ the key flags, and they can be any ofFLOW_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 understruct flow..._key_control(9)β yes, the header literally shortens the name with...and honestly it ate. periodt. πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms