bond_xmit_hash(9)
π 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 π₯
- Kernel file
./drivers/net/bonding/bond_main.c bond_dev_queue_xmit(9)bond_vlan_rx_add_vid(9)bond_vlan_rx_kill_vid(9)bond_ipsec_dev(9)bond_ipsec_add_sa(9)bond_ipsec_del_sa(9)bond_ipsec_offload_ok(9)bond_advance_esn_state(9)bond_xfrm_update_stats(9)bond_set_dev_addr(9)bond_choose_primary_or_current(9)bond_find_best_slave(9)bond_change_active_slave(9)bond_select_active_slave(9)bond_xmit_hash_xdp(9)bond_get_slave_by_id(9)bond_rr_gen_slave_id(9)bond_sk_hash_l34(9)
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
- 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