sunrpc_nl_ip..._reqs_dumpit(9)
β¨ sunrpc_nl_ip..._reqs_dumpit β¨
okay so bestie, welcome to the Kernel API Manual entry for sunrpc_nl_ip..._reqs_dumpit(9) β yes the title is a whole mouthful, she's got main character energy and a truncated name, we love that for her π
πΈ NAME πΈ
sunrpc_nl_ip_map_get_reqs_dumpit β literally just dumps the pending ip_map requests. that's it. that's the job π«Ά
π¦ SYNOPSIS π¦
int sunrpc_nl_ip_map_get_reqs_dumpit (struct sk_buff *skb , struct
netlink_callback *cb );
she takes two args and returns an int, no cap π
π ARGUMENTS π
skbβ the reply buffer, i.e. where the answer goes. it's giving "here's the container, fill it up" πcbβ netlink metadata AND the command arguments, all bundled together. she contains multitudes β¨
π DESCRIPTION π
so what she actually does: she walks the ip_map cache's pending request list, and for every single cache_request she builds a nested entry inside a netlink message β and each one carries the seqno, the class, and the addr. all three, no skipping π
then, the iconic part: she uses cb->args[0] as a seqno cursor, so the dump can keep going across multiple netlink messages. it's a continuation situation, she picks up right where she left off π§ββοΈ
and she returns the size of the reply, or a negative errno if things went sideways π periodt.
π₯ SEE ALSO π₯
Kernel file ./net/sunrpc/svcauth_unix.c β go read the source, iykyk π
sunrpc_nl_unix_gid_get_reqs_dumpit(9)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_parse_one_ip_map(9)sunrpc_nl_ip_map_set_reqs_doit(9)
the whole friend group, honestly π
and that's the page!! this lil gem lives in ./net/sunrpc, dated October 2026, and it's brought to you by the Kernel API Manual (9) β slay, go dump some requests bestie πππ¦π
π¦ 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