nla_align_64bit(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nla_align_64bit(9) β€” Kernel API Manual, bestie edition πŸ’…

πŸŽ€ NAME πŸŽ€

nla_align_64bit β€” 64-bit align the nla_data() of next attribute

This is the nla_align_64bit(9) page, and yes, it's giving very specific kernel-helper energy. Periodt. ✨

🌸 SYNOPSIS 🌸

int nla_align_64bit (struct sk_buff *skb , int padattr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • skb β€” socket buffer the message is stored in
  • padattr β€” attribute type for the padding

πŸ’– DESCRIPTION πŸ’–

Okay so bestie, here's the vibe: this function conditionally emits a padding netlink attribute so that the next attribute we emit has a 64-bit aligned nla_data() area. Slay.

And the crucial part? This only happens on architectures that do not have CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS defined. No cap, that's the whole condition. 🫢

⭐ RETURN ⭐

zero on success or a negative error code.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/net/netlink.h

The whole SEE ALSO friend group, in original order, every single one:


Signed off from source/version ./include/net, dated October 2026 β€” footer details but make it cute πŸ’–πŸ«Άβœ¨

πŸ“¦ where this page comes from