sunrpc_nl_ip..._reqs_dumpit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ‘‘

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