sunrpc_nl_parse_one_ip_map(9)
π sunrpc_nl_parse_one_ip_map(9) π
okay so bestie, welcome to the Kernel API Manual β this one's a lil function from the sunrpc corner of the kernel and honestly it's giving "small but crucial" β¨
πΈ NAME πΈ
sunrpc_nl_parse_one_ip_map β parses, like, one single ip_map entry from netlink π
π¦ SYNOPSIS π¦
int sunrpc_nl_parse_one_ip_map (struct cache_detail *cd , struct nlattr
*attr );
β¨ ARGUMENTS β¨
cdβ thecache_detailfor theip_mapcache π like, that's the cache we're messing with, no capattrβ a nested attribute holding all theip_mapfields π«Ά it's the lil container with the goodies inside
π DESCRIPTION π
So what it does: it parses one ip_map entry out of a netlink message and then updates the cache. π Yes, exactly one. Not two. Not a whole bunch. One. Periodt. π
It literally mirrors the logic in ip_map_parse, so if you know that one you already know what's up here β iykyk π
Returns 0 on success, or a negative errno if things went sideways π (that's the whole return contract, fr fr).
π§ SEE ALSO π§
- Kernel file
./net/sunrpc/svcauth_unix.cπ 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_ip_map_get_reqs_dumpit(9)sunrpc_nl_ip_map_set_reqs_doit(9)
and that's the whole vibe check bestie π this lil page came from ./net/sunrpc and it's dated October 2026 β slay, go read some kernel source, you got this ππ¦β
π¦ 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