netlbl_domhsh_hash(9)
π netlbl_domhsh_hash(9) β Kernel API Manual β¨
π NAME π
netlbl_domhsh_hash β the hashing function for the domain hash table, bestie. Thatβs the whole vibe. π
β¨ SYNOPSIS β¨
u32 netlbl_domhsh_hash (const char *key );
πΈ ARGUMENTS πΈ
keyβ the domain name to hash π¦
π§ DESCRIPTION π§
Okay so real talk: this is the hashing function for the domain hash table. You give it a domain, and it returns the correct bucket number for the domain. Slay. π
Important caveat, bestie: the caller is responsible for ensuring that the hash table is protected with either a RCU read lock or the hash table lock. That lock protection is on the caller β the function is not out here doing it for you. π₯
π₯ SEE ALSO π₯
Kernel file: ./net/netlabel/netlabel_domainhash.c π
netlbl_domhsh_free_entry(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(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)
okay bye bestie β netlbl_domhsh_hash(9) is from source/version ./net/netlabel, dated October 2026. mwah πβ¨
π¦ 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