mesh_nexthop_resolve(9)
π mesh_nexthop_resolve(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a little function from the mac80211 mesh world and honestly it's giving "air traffic controller but for Wi-Fi frames" π«β¨
β¨ NAME β¨
mesh_nexthop_resolve β lookup next hop; conditionally start path discovery
like, it figures out where a frame should go next, and only if it has to, kicks off path discovery π
π SYNOPSIS π
int mesh_nexthop_resolve (struct ieee80211_sub_if_data *sdata , struct sk_buff *skb );
π¦ ARGUMENTS π¦
sdataβ the network subif that the frame is gonna be sent through π (the interface, basically, the ~venue~)skbβ the 802.11 frame to be sent π¨ (the actual little packet main character)
πΈ DESCRIPTION πΈ
So what it does: it looks up the next hop for the given skb, and if no forwarding information is found, it starts path discovery. That's the whole vibe. Look up first, discover only when the info's missing β no cap, efficiency queen ππ
β RETURN β
- returns
0if the next hop was found π - returns
-ENOENTif the frame was queued π«Ά
β οΈ heads up bestie: skb is freed here if no mpath could be allocated. like, it's gone. don't touch it after. π
π SEE ALSO π
Kernel file ./net/mac80211/mesh_hwmp.c β plus these icons:
mesh_path_error_tx(9)hwmp_route_info_get(9)mesh_queue_preq(9)mesh_path_start_discovery(9)mesh_nexthop_lookup_nolearn(9)mesh_nexthop_lookup(9)
and that's the whole page, bestie β slay π§π this cutie lives in ./net/mac80211 and the docs are dated October 2026, so mark your calendar fr fr π
β¨ bye 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