rtrs_addr_to_str(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rtrs_addr_to_str(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's a tiny little function in the kernel's RDMA corner and it's genuinely so straightforward you're gonna slay it.


🌸 NAME 🌸

rtrs_addr_to_str β€” convert rtrs_addr to a string "src@dst" πŸ’…

✨ SYNOPSIS ✨

int rtrs_addr_to_str (const struct rtrs_addr *addr , char *buf , size_t
       len );

πŸŽ€ ARGUMENTS πŸŽ€

  • addr β€” the rtrs_addr structure to be converted 🫢 like, this is the thing you're turning into text.
  • buf β€” string containing source and destination addr of a path separated by '' I.e. "ip:1.1.1.1ip:1.1.1.2" "ip:1.1.1.1ip:1.1.1.2". πŸ’– yes, that's literally how it's written, no cap.
  • len β€” string length ⭐

πŸ¦‹ DESCRIPTION πŸ¦‹

the return value is the number of characters written into buf, not including the trailing ' '. πŸ‘‘

that's it. that's the whole vibe. 😭

🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” go convert some addresses πŸ’œ

this little icon came from ./drivers/infiniband/ulp/rtrs and it's dated October 2026 β€” periodt. πŸŽ€βœ¨

πŸ“¦ where this page comes from