STRUCT FLOW_DISSECTOR_KEY_IPV4_ADDRS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct flow_dissector_key_ipv4_addrs(9) πŸ’–

okay so welcome to the Kernel API Manual, bestie β€” section 9, the deep lore section, we're literally in the headers rn 🧚


✨ NAME ✨

struct flow_dissector_key_ipv4_addrs β€”

and ngl the manpage just… ends the sentence there 😭 no description, no little blurb, nothing. It's giving mysterious main character energy. The name speaks for itself and honestly? It ate. 🫢


🌸 SYNOPSIS 🌸

struct flow_dissector_key_ipv4_addrs {
    __be32 src;
    __be32 dst;
};

that's the whole vibe. two fields, both __be32, both iconic πŸ’…


πŸ¦‹ Members πŸ¦‹

  • src β€” the source ip address πŸŽ€
  • dst β€” the destination ip address ✨

like, who's calling and who's getting called. that's it. that's the struct. lowkey obsessed with how simple this is.

fr fr though β€” these are __be32, so big-endian, no cap. Don't go flipping bytes on me πŸ™ˆ

🌈 SEE ALSO 🌈

bestie, buckle up, because this is a whole friend group and we're tagging everyone πŸ‘‘

  • Kernel file ./include/net/flow_dissector.h
  • struct flow_dissector_key_control(9)
  • struct flow_dissector_key_basic(9)
  • struct flow_dissector_key_enc_opts(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)

every single one of them, no skips, we don't do that here πŸ’―


okay so that's the whole page! short and sweet, just how we like it. this one lives in ./include/net and the version stamp says October 2026 β€” so yeah, she's from the future, we stan a time traveler πŸ•°οΈβœ¨

go forth and dissect those IPv4 addrs, bestie β€” you got this πŸ’–πŸŽ€πŸ’…

πŸ“¦ where this page comes from