batadv_v_elp_get_throughput(9)
๐ batadv_v_elp_get_throughput(9) โ the Kernel API Manual page, bestie edition โจ
okay so real talk, this is a page from the Kernel API Manual and it's about batadv_v_elp_get_throughput โ the little function that goes and fetches the throughput towards a neighbour. yes, that's the whole vibe. let's get into it ๐ซถ
๐ธ NAME ๐ธ
batadv_v_elp_get_throughput โ get the throughput towards a neighbour ๐ซ
like, literally what it says on the tin. you want the throughput, towards a neighbour, and this function is your girl.
โจ SYNOPSIS โจ
bool batadv_v_elp_get_throughput (struct batadv_hardif_neigh_node *neigh
, u32 *pthroughput );
that's it. that's the whole signature. she's a bool-returning icon and she ate ๐
๐ ARGUMENTS ๐
neighโ the neighbour for which the throughput has to be obtained ๐ฆ like, the whole point of the call. this is the neighbour in question, no cap.pthroughputโ calculated throughput towards the given neighbour, in multiples of100kpbs. and yes bestie, the units have lore: a value of'1'equals0.1Mbps,'10'equals1Mbps, etc. so do the math accordingly, iykyk ๐งฎโจ
๐ RETURN ๐
returns true when the value behind pthroughput was actually set. periodt. that's the vibe check โ true means your pointer got blessed with a real number ๐
๐ SEE ALSO ๐
kernel file ./net/batman-adv/bat_v_elp.c, struct batadv_v_metric_queue_entry(9), and honestly the whole friend group:
batadv_v_elp_start_timer(9)batadv_v_elp_throughput_metric_update(9)batadv_v_elp_wifi_neigh_probe(9)batadv_v_elp_periodic_work(9)batadv_v_elp_iface_enable(9)batadv_v_elp_iface_disable(9)batadv_v_elp_iface_activate(9)batadv_v_elp_primary_iface_set(9)batadv_v_elp_neigh_update(9)batadv_v_elp_packet_recv(9)
go read them. they're all main character energy in their own way ๐ฅ
ngl, ifpthroughputdoesn't get set, you're getting afalseback and that's your answer. no extra lore, no secret behaviour โ just check the return value, bestie ๐
that's the page!! source/version is ./net/batman-adv and the date on this beauty is October 2026 โ so like, future icon behaviour honestly ๐๐ mwah, go read the rest of the manual, 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