rtrs_str_to_sockaddr(9)
π 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 thestruct sockaddr_storage *dstfrom 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 π¦
- Kernel file:
./drivers/infiniband/ulp/rtrs/rtrs.c sockaddr_to_str(9)rtrs_addr_to_str(9)rtrs_addr_to_sockaddr(9)
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
- 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