netmem_ref(9)
π NAME π
okay so welcome to netmem_ref(9), straight from the Kernel API Manual, bestie! π This is typedef netmem_ref β and yes, it's a nonexistent type whose whole main-character job is marking a reference to generic network memory. It's giving "I literally don't exist as a type" energy, no cap. β¨π
π¦ Description π¦
A netmem_ref can be a struct page* or a struct net_iov* underneath β like, it's got layers, okay? ππ
Use the supplied helpers to obtain the underlying memory pointer and fields, periodt. That's the assignment, bestie. π«Ά
π SEE ALSO π
The Kernel file ./include/net/netmem.h is where the magic lives, and you should also peek at:
__netmem_to_page(9)virt_to_netmem(9)__netmem_to_nmdesc(9)__netmem_get_pp(9)__netmem_address(9)netmem_is_pfmemalloc(9)
mwah π this page comes from the source ./include/net, dated October 2026 β netmem_ref(9), signing off! ππ¦
π¦ 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