bond_xmit_hash(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, meet bond_xmit_hash β€” straight out of the Kernel API Manual as bond_xmit_hash(9). she generates a hash value based on the xmit policy, and honestly? she ate. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 bond_xmit_hash (struct bonding *bond , struct sk_buff *skb );

πŸ’… ARGUMENTS πŸ’…

  • bond β€” the bonding device. that's her home base, periodt.
  • skb β€” the buffer to use for headers. yes, the headers come from here, no cap.

πŸŽ€ DESCRIPTION πŸŽ€

so what she does is literally iconic: this function extracts the necessary headers from the skb buffer and uses them to generate a hash based on the xmit_policy set in the bonding device. headers in, hash out, policy deciding the flavor. ✨

bestie note: the hash is based on the xmit_policy set in the bonding device β€” that's the vibe check this function is doing. iykyk. 🫢

πŸ”₯ SEE ALSO πŸ”₯


xoxo, your kernel bestie πŸ’– β€” source/version: ./drivers/net/bonding; date: October 2026; page: bond_xmit_hash(9). go be amazing, ily. 🫢

πŸ“¦ where this page comes from