ipoib_get_ne...v_match_addr(9)
β¨ 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 IPoIBnet_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
- 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