STRUCT NETLBL_AF4LIST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct netlbl_af4list(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual ✨ β€” today's main character is struct netlbl_af4list, and honestly? she's giving organized-IPv4-address-list energy and we're obsessed πŸŽ€


🌸 NAME 🌸

struct netlbl_af4list β€” NetLabel IPv4 address list πŸ’… no cap, that's literally it


✨ SYNOPSIS ✨

struct netlbl_af4list {
    __be32 addr;
    __be32 mask;
    u32 valid;
    struct list_head list;
 };

like, look at her. four fields. perfectly curated. πŸ¦‹


🫢 Members 🫢

okay let's meet the cast, one by one πŸ‘‘

  • addr β€” the IPv4 address itself πŸ“ fr fr, this is the whole point
  • mask β€” the IPv4 address mask 🎭 she's the filter, the vibe check for the address
  • valid β€” a valid flag βœ… lowkey just says whether this thing is valid or not
  • list β€” the list structure, used internally πŸ™ˆ that's right bestie, she's for internal use only, not for you to play with

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./net/netlabel/netlabel_addrlist.h β€” go read it, iykyk πŸ“–
  • struct netlbl_af6list(9) β€” the IPv6 sister, equally iconic 🌈

ok that's the whole page, no gatekeeping πŸ’€ everything you need is right here, go slay some NetLabel address lists πŸ”₯

sign-off time πŸŽ€ β€” this little love letter lives in ./net/netlabel, dated October 2026, and it's the struct netlbl_af4list(9) page. mwah πŸ’‹ bye bestie!! πŸ’œ

πŸ“¦ where this page comes from