netlbl_domhsh_add(9)
π netlbl_domhsh_add(9) β Kernel API Manual, bestie edition π
πΈ NAME πΈ
netlbl_domhsh_add β adds an entry to the domain hash table π
β¨ SYNOPSIS β¨
int netlbl_domhsh_add (struct netlbl_dom_map *entry , struct
netlbl_audit *audit_info );
π ARGUMENTS π
entryβ the entry to add, bestie β¨audit_infoβ NetLabel audit information π«Ά
π DESCRIPTION π
Okay so this function adds a new entry to the domain hash table and handles any updates to the lower level protocol handler (i.e. CIPSO). That's the vibe. π₯
Your entry->family may be set to AF_UNSPEC, which will add an entry that matches all address families. This is only useful for the unlabelled type and will only succeed if there is no existing entry for any address family with the same domain. No cap β that's the condition. π¦
It returns zero on success, negative on failure. Periodt. π
π₯ SEE ALSO π₯
- Kernel file
./net/netlabel/netlabel_domainhash.cπ§ netlbl_domhsh_free_entry(9)βnetlbl_domhsh_hash(9)βnetlbl_domhsh_search(9)βnetlbl_domhsh_search_def(9)βnetlbl_domhsh_audit_add(9)βnetlbl_domhsh_validate(9)βnetlbl_domhsh_init(9)βnetlbl_domhsh_add_default(9)βnetlbl_domhsh_remove_entry(9)βnetlbl_domhsh_remove_af4(9)βnetlbl_domhsh_remove_af6(9)βnetlbl_domhsh_remove(9)βnetlbl_domhsh_remove_default(9)βnetlbl_domhsh_getentry(9)βnetlbl_domhsh_getentry_af4(9)βnetlbl_domhsh_getentry_af6(9)βnetlbl_domhsh_walk(9)β
That's the whole page, bestie π«Ά source/version: ./net/netlabel; date: October 2026. 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