STRUCT P9_FD_OPTS(9)
π NAME π
Ok so bestie, weβre in the Kernel API Manual and todayβs main character is struct p9_fd_opts β literally the per-transport options for fd transport. β¨
πΈ SYNOPSIS πΈ
Hereβs the whole struct, no cap:
struct p9_fd_opts {
int rfd;
int wfd;
u16 port;
bool privport;
};
π Members π
These are the members, and yes, every single one matters π
rfdβ the file descriptor for reading, only fortrans=fdπ₯wfdβ the file descriptor for writing, also fortrans=fdπ«Άportβ the port to connect to, fortrans=tcpπprivportβ says the port is privileged π
π¦ SEE ALSO π¦
Kernel file ./include/net/9p/client.h and all these iconic little references:
enum p9_trans_status(9)enum p9_req_status_t(9)struct p9_req_t(9)struct p9_client(9)struct p9_rdma_opts(9)struct p9_session_opts(9)struct p9_dirent(9)
Mwah π thatβs the whole page, bestie. Source/version vibes: ./include/net/9p, dated October 2026, from the Kernel API Manual. π§π
π¦ 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