netlbl_cipsov4_listall_cb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the netlbl_cipsov4_doiwalk_arg structure ⭐ 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 πŸ’œ


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