netlbl_skbuff_setattr(9)
π NAME π
Okay so this is the netlbl_skbuff_setattr(9) page from the Kernel API Manual, bestie, and it is literally about labeling a packet using the correct protocol. No cap. π
β¨ SYNOPSIS β¨
int netlbl_skbuff_setattr (struct sk_buff *skb , u16 family , const
struct netlbl_lsm_secattr *secattr );
π ARGUMENTS π
skbβ the packet. Like, the actual packet you're dealing with. π«Άfamilyβ protocol family. It's giving "which family are we in" energy. πΈsecattrβ the security attributes. The security vibe-check info. π₯
π¦ DESCRIPTION π¦
So the whole move here is: attach the correct label to the given packet, using the security attributes specified in secattr. That's the tea. π
And the return situation? It returns zero on success, and negative values on failure. So 0 is the slay outcome, negative is the "bestie, something went wrong" outcome. π
π SEE ALSO π
Kernel file: ./net/netlabel/netlabel_kapi.c β and here are all the cross-refs, bestie, not a single one skipped:
netlbl_cfg_map_del(9)netlbl_cfg_unlbl_map_add(9)netlbl_cfg_unlbl_static_add(9)netlbl_cfg_unlbl_static_del(9)netlbl_cfg_cipsov4_add(9)netlbl_cfg_cipsov4_del(9)netlbl_cfg_cipsov4_map_add(9)netlbl_cfg_calipso_add(9)netlbl_cfg_calipso_del(9)netlbl_cfg_calipso_map_add(9)_netlbl_catmap_getnode(9)netlbl_catmap_walk(9)netlbl_catmap_walkrng(9)netlbl_catmap_getlong(9)netlbl_catmap_setbit(9)netlbl_catmap_setrng(9)netlbl_catmap_setlong(9)netlbl_bitmap_walk(9)netlbl_bitmap_setbit(9)netlbl_enabled(9)netlbl_sock_setattr(9)netlbl_sock_delattr(9)netlbl_sock_getattr(9)netlbl_sk_lock_check(9)netlbl_conn_setattr(9)netlbl_req_setattr(9)netlbl_req_delattr(9)netlbl_skbuff_getattr(9)netlbl_skbuff_err(9)netlbl_cache_invalidate(9)netlbl_cache_add(9)netlbl_audit_start(9)netlbl_init(9)
π that's the whole page, bestie β source/version ./net/netlabel, dated October 2026. mwah, bye! π
π¦ 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