mesh_path_assign_nexthop(9)
π« mesh_path_assign_nexthop(9) π«
okay so this is a page straight out of the Kernel API Manual β mesh_path_assign_nexthop(9), bestie. yes it's a mouthful, no we're not renaming it, it's iconic as is π
β¨ NAME β¨
mesh_path_assign_nexthop β update mesh path next hop
like literally, it's the glow-up function for a mesh path's next hop π
πΈ SYNOPSIS πΈ
void mesh_path_assign_nexthop (struct mesh_path *mpath , struct sta_info
*sta );
ngl, void in, vibes out. no return value, she just does the thing π¦
π§ ARGUMENTS π§
mpathβ the mesh path you're updating, aka the main character of this whole operation πstaβ the next hop you're assigning to it, the one getting the crown handed over π«Ά
π DESCRIPTION π
Locking: mpath->state_lock must be held when calling this function.
that's the whole description, and it's not a suggestion β it's giving hard requirement, fr fr. hold that lock or don't call her at all, no cap ππ
β SEE ALSO β
Kernel file ./net/mac80211/mesh_pathtbl.c and honestly her entire friend group:
mesh_path_move_to_queue(9)mesh_path_lookup(9)mesh_path_lookup_by_idx(9)mpp_path_lookup_by_idx(9)mesh_path_add_gate(9)mesh_gate_del(9)mesh_gate_num(9)mesh_path_add(9)mesh_plink_broken(9)mesh_path_flush_by_nexthop(9)mesh_path_flush_by_iface(9)table_path_del(9)mesh_path_del(9)mesh_path_tx_pending(9)mesh_path_send_to_gates(9)mesh_path_discard_frame(9)mesh_path_flush_pending(9)mesh_path_fix_nexthop(9)
the whole squad, all together, iykyk π
lowkey reminder: this page lives in./net/mac80211, dated October 2026, and she answers to the namemesh_path_assign_nexthop(9). slay, go hold that lock bestie π β¨π
π¦ 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