batadv_v_ogm_orig_get(9)
π batadv_v_ogm_orig_get β the kernel API manual, bestie edition π
okay so you're reading batadv_v_ogm_orig_get(9) and you're like "what does this even do" β don't worry, I gotchu. It's a function from the batman-adv kernel API manual, and honestly? it's giving "hi bestie, let me find your originator node for you." π¦
β¨ NAME β¨
batadv_v_ogm_orig_get β retrieve and possibly create an originator node. lowkey the whole personality of this function is "get it, and if it's not there, make it." slay. π
β¨ SYNOPSIS β¨
struct batadv_orig_node * batadv_v_ogm_orig_get (struct batadv_priv
*bat_priv , const u8 *addr );
like, the vibes of the signature are immaculate. returns a struct batadv_orig_node *, takes a struct batadv_priv *bat_priv and a const u8 *addr. no cap. π
πΈ ARGUMENTS πΈ
bat_privβ the bat priv with all the mesh interface information. it's literally the main character holding all the mesh iface tea. πaddrβ the address of the originator. yes, this one. the address. π
β RETURN β
the orig_node corresponding to the specified address. iconic, honestly. and if such an object does not exist? it is allocated here β like, born right there on the spot, main character energy. π
heads up bestie: in case of allocation failure it returns NULL. so like, vibe check your return value, fr fr. π
π₯ SEE ALSO π₯
- Kernel file
./net/batman-adv/bat_v_ogm.cβ the source file, the mothership, the origin story π batadv_v_ogm_start_queue_timer(9)batadv_v_ogm_start_timer(9)batadv_v_ogm_send_to_if(9)batadv_v_ogm_len(9)batadv_v_ogm_queue_left(9)batadv_v_ogm_aggr_list_free(9)batadv_v_ogm_aggr_send(9)batadv_v_ogm_queue_on_if(9)batadv_v_ogm_send_meshif(9)batadv_v_ogm_send(9)batadv_v_ogm_aggr_work(9)batadv_v_ogm_iface_enable(9)batadv_v_ogm_iface_disable(9)batadv_v_ogm_primary_iface_set(9)batadv_v_forward_penalty(9)batadv_v_ogm_forward(9)batadv_v_ogm_metric_update(9)batadv_v_ogm_route_update(9)batadv_v_ogm_process_per_outif(9)batadv_v_ogm_aggr_packet(9)batadv_v_ogm_process(9)batadv_v_ogm_packet_recv(9)batadv_v_ogm_init(9)batadv_v_ogm_free(9)
like, the whole friend group is here. iykyk. π«Ά
reminder that this is a kernel function, so please don't call it from userspace and then wonder why everything is on fire π
and that's the page, bestie! sourced from ./net/batman-adv, the October 2026 cut of batadv_v_ogm_orig_get(9) β go forth and slay your mesh networking, mwah ππ§π
π¦ 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