rtrs_str_to_sockaddr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the manual page for rtrs_str_to_sockaddr(9) from the Kernel API Manual β€” and it's literally about converting an rtrs address string to a sockaddr. That's the whole vibe. ✨

πŸŽ€ SYNOPSIS πŸŽ€

int rtrs_str_to_sockaddr (const char *addr , size_t len , u16 port ,
       struct sockaddr_storage *dst );

🌸 ARGUMENTS 🌸

  • addr β€” the string representation of an addr (IPv4, IPv6 or IB GID), and it can look like any of these cuties:
    • "ip:192.168.1.1"
    • "ip:fe80::200:5aee:feaa:20a2"
    • "gid:fe80::200:5aee:feaa:20a2"
  • len β€” string address length, aka how long that address string is. πŸ“
  • port β€” destination port. πŸšͺ
  • dst β€” destination sockaddr structure, specifically the struct sockaddr_storage *dst from the synopsis. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so the tea is simple: it returns 0 if the conversion is successful. Non-zero on error. That's it β€” no cap, no extra lore. πŸ’―

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’‹ that's the whole page. It's from ./drivers/infiniband/ulp/rtrs, dated October 2026, and it's the rtrs_str_to_sockaddr(9) manual page. 🫢

πŸ“¦ where this page comes from