ipoib_get_ne...v_match_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is the man page for ipoib_get_net_dev_match_addr β€” welcome to the Kernel API Manual, section 9, the whole ipoib_get_ne...v_match_addr(9) vibe πŸ’…

ipoib_get_net_dev_match_addr β€” literally finds you a net_device that matches the address you handed it, and that is also an upper device of the net_device you passed in. no cap, that's the whole job πŸŽ€


🌸 SYNOPSIS 🌸

struct net_device * ipoib_get_net_dev_match_addr (const struct sockaddr
*addr , struct net_device *dev );

like, it takes a const struct sockaddr * called addr and a struct net_device * called dev, and it gives you back a struct net_device *. yes the return type is a pointer, she's giving main character energy ⭐


πŸ¦‹ ARGUMENTS πŸ¦‹

  • addr β€” the IP address to look for πŸ” that's it, that's the assignment.
  • dev β€” the base IPoIB net_device 🧚 your starting point, your home base, your origin story.

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: if it finds a match, it returns the net_device with a reference held 🫢 (yes, held β€” don't forget that, it matters).

otherwise? it returns NULL. that's it. that's the whole function. no extra lore, no secret side quests. 😭


πŸ”₯ SEE ALSO πŸ”₯

  • the kernel file ./drivers/infiniband/ulp/ipoib/ipoib_main.c β€” go read the source bestie, iykyk πŸ“–βœ¨

fr fr, that's every single detail from the original, nothing skipped, nothing invented πŸ’€

🌈 and that's a wrap! this little icon came from ./drivers/infiniband/ulp/ipoib, dated October 2026, and it's filed under ipoib_get_ne...v_match_addr(9) β€” periodt πŸ’…πŸ‘‘

πŸ“¦ where this page comes from