netlbl_af6list_add(9)
π netlbl_af6list_add β a Kernel API Manual moment π
okay so bestie, welcome to the netlbl_af6list_add(9) page πΈ this one lives in the Kernel API Manual and it's honestly a little icon: small, focused, does exactly one thing. Let's get into it β¨
β¨ NAME β¨
netlbl_af6list_add β literally just "Add a new IPv6 address entry to a list" π¦ no cap, that's the whole vibe.
π SYNOPSIS π
int netlbl_af6list_add (struct netlbl_af6list *entry , struct list_head *head );
like, that's the whole signature, she's not complicated π
π ARGUMENTS π
entryβ the address entry, aka the new girl you're adding to the group chat π«Άheadβ the list head, aka the group chat itself π
π DESCRIPTION π
So here's the tea β: you're adding a new address entry to the list that head points at. That's it, that's the function.
On success you get a big fat zero back π otherwise you get a negative value, which is the kernel's way of saying "nope, didn't slay" π
β οΈ and listen β the caller is responsible for calling the necessary locking functions. That's on YOU, bestie. The function is not gonna lock anything for you. No cap, no hand-holding, main character energy only π₯
π¦ SEE ALSO π¦
Kernel file ./net/netlabel/netlabel_addrlist.c β go read her, she's iconic π
netlbl_af4list_search(9)netlbl_af4list_search_exact(9)netlbl_af6list_search(9)netlbl_af6list_search_exact(9)netlbl_af4list_add(9)netlbl_af4list_remove_entry(9)netlbl_af4list_remove(9)netlbl_af6list_remove_entry(9)netlbl_af6list_remove(9)netlbl_af4list_audit_addr(9)netlbl_af6list_audit_addr(9)
okay that's the whole page, mwah ππ this one came straight out of ./net/netlabel, dated October 2026, and it's filed under netlbl_af6list_add(9) β go forth and add those IPv6 entries, bestie, and remember the locks π§β¨π
π¦ 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