netlbl_cipsov4_listall_cb(9)
π netlbl_cipsov4_listall_cb β like, the LISTALL callback π
okay so bestie, welcome to the Kernel API Manual entry for netlbl_cipsov4_listall_cb(9) β¨ this one's a little callback with main character energy, and honestly? she's serving. let's get into it π
β¨ NAME β¨
netlbl_cipsov4_listall_cb β the cipso_v4_doi_walk() callback for LISTALL π
πΈ SYNOPSIS πΈ
int netlbl_cipsov4_listall_cb (struct cipso_v4_doi *doi_def , void *arg
);
like, that's the whole signature, no cap π«Ά
π¦ ARGUMENTS π¦
doi_defβ the CIPSOv4 DOI definition π this is the one being walked over, and she is the moment.argβ thenetlbl_cipsov4_doiwalk_argstructure β it's the lil bundle of context getting passed along, iykyk.
π₯ DESCRIPTION π₯
so this function is literally designed to be used as a callback to the cipso_v4_doi_walk function β like, that's her whole job, that's her purpose, that's her era β¨ and she's doing it specifically for use in generating a response for a LISTALL message π
on success she returns the size of the message π and on failure you get negative values back π so yeah, check your return value, bestie, because a negative number means something went sideways fr fr.
heads up: negative return = failure. don't sleep on it π
π SEE ALSO π
peep the kernel file first, she's iconic:
- Kernel file
./net/netlabel/netlabel_cipso_v4.cπ
and then the whole friend group, all of them, in order π
netlbl_cipsov4_add_common(9)netlbl_cipsov4_add_std(9)netlbl_cipsov4_add_pass(9)netlbl_cipsov4_add_local(9)netlbl_cipsov4_add(9)netlbl_cipsov4_list(9)netlbl_cipsov4_listall(9)netlbl_cipsov4_remove_cb(9)netlbl_cipsov4_remove(9)netlbl_cipsov4_genl_init(9)
and that's the page, bestie π§ source/version: ./net/netlabel, dated October 2026 β mwah, go read some kernel source, you ate π
π
π¦ 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