sel_netport_hashfn(9)
πΈ NAME πΈ
okay bestie, welcome to the Kernel API Manual page for sel_netport_hashfn(9) β the hashing function for the port table β¨. Itβs giving βsmall but iconic,β fr fr.
β¨ SYNOPSIS β¨
the whole vibe is literally:
unsigned int sel_netport_hashfn (u16 pnum );
π ARGUMENTS π
pnumβ port number π
π¦ DESCRIPTION π¦
Okay so this is the hashing function for the port table. It returns the bucket number for the given port π₯. Thatβs the whole job, no cap β the port table gets its bucket number from here π.
π SEE ALSO π
- Kernel file:
./security/selinux/netport.c sel_netport_find(9)sel_netport_insert(9)sel_netport_sid_slow(9)sel_netport_sid(9)sel_netport_flush(9)
xoxo bestie π«Ά this page is from source/version ./security/selinux, dated October 2026, for sel_netport_hashfn(9) β slay and goodbye πβ¨
π¦ 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