sunrpc_nl_un..._reqs_dumpit(9)
sunrpc_nl_un..._reqs_dumpit(9)
okay so bestie, this page is from the Kernel API Manual, and itβs giving βtiny but important kernel netlink dump functionβ energy. letβs get into it π
π NAME π
sunrpc_nl_unix_gid_get_reqs_dumpit β dump pending unix_gid requests. no cap, thatβs the whole name π«Ά
β¨ SYNOPSIS β¨
int sunrpc_nl_unix_gid_get_reqs_dumpit (struct sk_buff *skb , struct
netlink_callback *cb );
π ARGUMENTS π
skbβ the reply buffer. thatβs where the reply goes πcbβ netlink metadata and command arguments. itβs carrying the netlink context, bestie π§
πΈ DESCRIPTION πΈ
So this one walks the unix_gid cacheβs pending request list and creates a netlink message with a nested entry for each cache_request, and each of those entries contains the seqno and uid. itβs literally making one cute nested entry per pending request π₯
It uses cb->args[0] as a seqno cursor for dump continuation across multiple netlink messages β yes, thatβs how it keeps its place when the dump spills over into more messages. iconic behavior, honestly β¨
And the return? It returns the size of the reply or a negative errno. thatβs it. thatβs the vibe check π
π¦ SEE ALSO π¦
- Kernel file:
./net/sunrpc/svcauth_unix.c sunrpc_nl_parse_one_unix_gid(9)sunrpc_nl_unix_gid_set_reqs_doit(9)sunrpc_nl_cache_flush_doit(9)svcauth_null_accept(9)svcauth_tls_accept(9)svcauth_unix_accept(9)sunrpc_nl_ip_map_get_reqs_dumpit(9)sunrpc_nl_parse_one_ip_map(9)sunrpc_nl_ip_map_set_reqs_doit(9)
okay thatβs the whole page, bestie β source/version is ./net/sunrpc, dated October 2026. mwah ππβ¨
π¦ 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