STRUCT BATADV_NEIGH_IFINFO_BAT_IV(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct batadv_neigh_ifinfo_bat_iv(9) β€” Kernel API Manual ✨

okay bestie, welcome to the Kernel API Manual entry for struct batadv_neigh_ifinfo_bat_iv β€” yes the header abbreviates it as struct bata...finfo_bat_iv(9) because even the manpage generator got tired, and yes it says it twice, it's just like that πŸ’€. This is the little bookkeeping struct that holds neighbor information per outgoing interface for B.A.T.M.A.N. IV. She's niche, she's specific, she's lowkey iconic πŸŽ€


✨ SYNOPSIS ✨

here's the whole vibe, verbatim, don't touch a single character 🫢

struct batadv_neigh_ifinfo_bat_iv {
    u8 tq_recv[BATADV_TQ_GLOBAL_WINDOW_SIZE];
    u8 tq_index;
    u8 tq_avg;
    unsigned long real_bits[BITS_TO_LONGS(
BATADV_TQ_LOCAL_WINDOW_SIZE)];
    u8 real_packet_count;
 };

🌸 Members 🌸

time for the member-by-member vibe check, no cap 🌈

  • tq_recv β€” bestie this is a ring buffer of the TQ values we received from this neigh node. the receipts, literally πŸ’…
  • tq_index β€” and this is the ring buffer index. somebody's gotta keep track of where we are in the ring πŸŽ€
  • tq_avg β€” the averaged tq of all the tq values chillin' in the ring buffer (tq_recv). she did the math πŸ“Š
  • real_bits β€” a bitfield holding the number of OGMs received from this neigh node (relative to orig_node->last_real_seqno). yes it's a bitfield, yes it's giving main character energy πŸ‘‘
  • real_packet_count β€” the counted result of real_bits. it counted. that's the whole job πŸ“

πŸ‘‘ SEE ALSO πŸ‘‘

all the siblings and cousins, live from the Kernel file ./net/batman-adv/types.h β€” go say hi, there are... a lot of them, and every single one is listed below because we do not skip anyone in this house πŸ’–

  • batadv_dat_addr_t(9)
  • enum batadv_dhcp_recipient(9)
  • BATADV_TT_REMOTE_MASK(9)
  • BATADV_TT_SYNC_MASK(9)
  • struct batadv_ogm_buf(9)
  • struct batadv_hard_iface_bat_iv(9)
  • enum batadv_v_hard_iface_flags(9)
  • struct batadv_hard_iface_bat_v(9)
  • enum batadv_hard_iface_wifi_flags(9)
  • struct batadv_wifi_net_device_state(9)
  • struct batadv_hard_iface(9)
  • struct batadv_orig_ifinfo_bat_iv(9)
  • struct batadv_orig_ifinfo(9)
  • struct batadv_frag_table_entry(9)
  • struct batadv_frag_list_entry(9)
  • struct batadv_vlan_tt(9)
  • struct batadv_orig_node_vlan(9)
  • struct batadv_orig_bat_iv(9)
  • struct batadv_orig_node(9)
  • enum batadv_orig_capabilities(9)
  • struct batadv_gw_node(9)
  • struct batadv_hardif_neigh_node_bat_v(9)
  • struct batadv_hardif_neigh_node(9)
  • struct batadv_neigh_node(9)
  • struct batadv_neigh_ifinfo_bat_v(9)
  • struct batadv_neigh_ifinfo(9)
  • struct batadv_bcast_duplist_entry(9)
  • enum batadv_counters(9)
  • struct batadv_priv_tt(9)
  • struct batadv_priv_bla(9)
  • struct batadv_priv_gw(9)
  • struct batadv_priv_tvlv(9)
  • struct batadv_priv_dat(9)
  • struct batadv_mcast_querier_state(9)
  • struct batadv_mcast_mla_flags(9)
  • struct batadv_priv_mcast(9)
  • struct batadv_tp_unacked(9)
  • struct batadv_tp_vars_common(9)
  • struct batadv_tp_sender_cc(9)
  • struct batadv_tp_sender(9)
  • struct batadv_tp_receiver(9)
  • struct batadv_meshif_vlan(9)
  • struct batadv_priv_bat_v(9)
  • struct batadv_priv(9)
  • enum batadv_bla_backbone_gw_state(9)
  • struct batadv_bla_backbone_gw(9)
  • struct batadv_bla_claim(9)
  • struct batadv_tt_common_entry(9)
  • struct batadv_tt_local_entry(9)
  • struct batadv_tt_global_entry(9)
  • struct batadv_tt_orig_list_entry(9)
  • struct batadv_tt_change_node(9)
  • struct batadv_tt_req_node(9)
  • struct batadv_tt_roam_node(9)
  • struct batadv_skb_cb(9)
  • struct batadv_forw_packet(9)
  • struct batadv_algo_iface_ops(9)
  • struct batadv_algo_neigh_ops(9)
  • struct batadv_algo_orig_ops(9)
  • struct batadv_algo_gw_ops(9)
  • struct batadv_algo_ops(9)
  • struct batadv_dat_entry(9)
  • struct batadv_hw_addr(9)
  • struct batadv_dat_candidate(9)
  • struct batadv_tvlv_container(9)
  • struct batadv_tvlv_handler(9)
  • enum batadv_tvlv_handler_flags(9)

and that's the whole thing bestie, you ate that 🫢✨ this masterpiece lives in ./net/batman-adv, dated October 2026, and the footer still calls it struct bata...finfo_bat_iv(9) because consistency is a love language πŸ’œ bye mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from