sunrpc_nl_parse_one_ip_map(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the cache_detail for the ip_map cache πŸ’– like, that's the cache we're messing with, no cap
  • attr β€” a nested attribute holding all the ip_map fields 🫢 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 🧚


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