batadv_tp_is_error(9)
π batadv_tp_is_error(9) β the Kernel API Manual glow-up π
okay so bestie, gather round, because we're looking at batadv_tp_is_error from the Kernel API Manual and honestly? she's a tiny little vibe check and nothing more. one job. one question: is this throughput meter return code actually an error or not? that's it, that's the whole personality π
β¨ NAME β¨
batadv_tp_is_error β check throughput meter return code for error. literally just that. she looks at the code, she tells you if it's giving "error" π
π¦ SYNOPSIS π¦
batadv_tp_is_error (n );
that's the whole call, no cap. one argument, in and out πΈ
π ARGUMENTS π
nβ the throughput meter return code. you hand her the code, she'll tell you what's up with it. that's the entire assignment and she ate π₯
π RETURN π
0 when not error was detected, != 0 otherwise.
so like: 0 means we're chill, we're fine, no error detected, main character energy π. literally anything that isn't 0 means it's NOT chill β an error got detected π. simple as that.
bestie please don't assume the exact non-zero number means something specific β the doc just says != 0 and we respect the doc π
π SEE ALSO π
okay this is the part where she name-drops her entire friend group. the whole ./include/uapi/linux/batadv_packet.h enum squad, plus the rest of the batman-adv extended family. all of them. every single one. iykyk π
./include/uapi/linux/batadv_packet.hβ the kernel file where all these enum besties liveenum batadv_packettype(9)enum batadv_subtype(9)enum batadv_iv_flags(9)enum batadv_icmp_packettype(9)enum batadv_mcast_flags(9)enum batadv_tt_data_flags(9)enum batadv_vlan_flags(9)enum batadv_bla_claimframe(9)enum batadv_tvlv_type(9)struct batadv_bla_claim_dst(9)struct batadv_ogm_packet(9)struct batadv_ogm2_packet(9)struct batadv_elp_packet(9)struct batadv_icmp_header(9)struct batadv_icmp_packet(9)struct batadv_icmp_tp_packet(9)enum batadv_icmp_tp_subtype(9)struct batadv_icmp_packet_rr(9)struct batadv_unicast_packet(9)struct batadv_unicast_4addr_packet(9)struct batadv_frag_packet(9)struct batadv_bcast_packet(9)struct batadv_mcast_packet(9)struct batadv_coded_packet(9)struct batadv_unicast_tvlv_packet(9)struct batadv_tvlv_hdr(9)struct batadv_tvlv_gateway_data(9)struct batadv_tvlv_tt_vlan_data(9)struct batadv_tvlv_tt_data(9)struct batadv_tvlv_tt_change(9)struct batadv_tvlv_roam_adv(9)struct batadv_tvlv_mcast_data(9)struct batadv_tvlv_mcast_tracker(9)
like ik that's a lot of names but they're all icons and they all deserve their moment π«Ά
and that's the page, bestie!! this little beauty comes to you from ./include/uapi/linux and she's stamped October 2026 β go forth, check your return codes, and slay β¨πππ¦
π¦ 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