__nla_reserve_nohdr(9)
β¨ NAME β¨
okay so bestie, this is the __nla_reserve_nohdr(9) page from the Kernel API Manual, and it does one iconic little job: it reserves room for an attribute without a header. It's giving payload-only main character energy. π
πΈ SYNOPSIS πΈ
Here's the signature, no cap:
void * __nla_reserve_nohdr (struct sk_buff *skb , int attrlen );
π ARGUMENTS π
skbβ the socket buffer we're reserving room on π«Άattrlenβ the length of the attribute payload β¨
π¦ DESCRIPTION π¦
This function reserves room for an attribute payload without a header. Simple as that. π
β οΈ The caller is responsible to ensure that the skb provides enough tailroom for the payload. Like, actually responsible β that check is your job, bestie. π
π SEE ALSO π
The kernel file is ./lib/nlattr.c. Go peek at these besties too:
__nla_validate(9)nla_policy_len(9)__nla_parse(9)nla_find(9)nla_strscpy(9)nla_strdup(9)nla_memcpy(9)nla_memcmp(9)nla_strcmp(9)__nla_reserve(9)__nla_reserve_64bit(9)nla_reserve(9)nla_reserve_64bit(9)nla_reserve_nohdr(9)__nla_put(9)__nla_put_64bit(9)__nla_put_nohdr(9)nla_put(9)nla_put_64bit(9)nla_put_nohdr(9)nla_append(9)
okay that's the whole page, bestie π«Ά source/version vibes: ./lib, dated October 2026, and the page is __nla_reserve_nohdr(9). bye! π
π¦ 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