netlbl_cipsov4_remove_cb(9)
π netlbl_cipsov4_remove_cb(9) π
okay bestie, this is a page from the Kernel API Manual (the netlbl_cipsov4_remove_cb(9) one, yes the whole entire title is the function name, we love a self-titled icon π). buckle up, it's a tiny function but she has range β¨
πΈ NAME πΈ
netlbl_cipsov4_remove_cb β literally the netlbl_cipsov4_remove() callback for REMOVE. that's it, that's the vibe, she's a callback and she knows it π
π¦ SYNOPSIS π¦
int netlbl_cipsov4_remove_cb (struct netlbl_dom_map *entry , void *arg
);
like, she takes a struct netlbl_dom_map * called entry and a void * called arg, and she gives you back an int. no cap, that's the whole signature π«Ά
π ARGUMENTS π
entryβ the LSM domain mapping entry. this is the main character of the argument list ngl πargβ thenetlbl_domhsh_walk_argstructure. she's the sidekick carrying the actual info we care about π
β¨ DESCRIPTION β¨
so here's the tea β β this function is intended for use by netlbl_cipsov4_remove as the callback for the netlbl_domhsh_walk function. like, that's her whole job, that's her purpose, she was built for this π§
and what does she do while she's out there walking? she removes LSM domain map entries that are associated with the CIPSO DOI specified in arg. yup. she's the cleanup crew, she's the "you gotta go" friend, she's removing entries associated with that DOI and she's not sorry π
returns zero on success, and negative values on failure. so if you see a zero, slay π if you see a negative, something went sideways, bestie π
π₯ SEE ALSO π₯
- Kernel file
./net/netlabel/netlabel_cipso_v4.cβ go read the source, iykyk π 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_cb(9)netlbl_cipsov4_listall(9)netlbl_cipsov4_remove(9)netlbl_cipsov4_genl_init(9)
lowkey the whole add/remove/list family is here so you literally cannot get lost. click through, bestie, she's got friends in every direction π«Ά
and that's the page!! π shoutout to the source ./net/netlabel and the date October 2026 β marking the calendar, setting a reminder, keeping the receipts πβ periodt π
π¦ 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