bond_sk_hash_l34(9)
β¨ bond_sk_hash_l34 β¨ <small>(section 9, Kernel API Manual bestie)</small>
okay so π
welcome to the bonding corner of the kernel, this one's a (9) manual page and it's lowkey doing the most important little job: hashing your sockets. let's get into it π«Ά
πΈ NAME πΈ
bond_sk_hash_l34 β generate a hash value based on the socket's L3 and L4 fields β¨
π SYNOPSIS π
u32 bond_sk_hash_l34 (struct sock *sk );
π¦ ARGUMENTS π¦
skβ socket to use for headers π
β DESCRIPTION β
so here's the tea β: this function will extract the necessary field from the socket and use them to generate a hash based on the LAYER34 xmit_policy. it's giving "routing decisions but make it cute" β¨
heads up bestie π«Ά β it assumes that sk is a TCP or UDP socket. no cap, that's the vibe check it needs to pass.
π SEE ALSO π
the whole Kernel file ./drivers/net/bonding/bond_main.c bonding friend group came out for this one, iconic behavior honestly π
:
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(9)bond_xmit_hash_xdp(9)bond_get_slave_by_id(9)bond_rr_gen_slave_id(9)
anyway that's the whole page bestie, go forth and hash responsibly π
source/version: ./drivers/net/bonding π dated October 2026 β mwah, love u, bye! πβ¨π¦
π¦ 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