sel_netif_hashfn(9)
okay so this is sel_netif_hashfn(9) from the Kernel API Manual π
β¨
π NAME π
sel_netif_hashfn β Hashing function for the interface table
β¨ SYNOPSIS β¨
bestie, here's the exact signature, no cap:
u32 sel_netif_hashfn (const struct net *ns , int ifindex );
π ARGUMENTS π
nsβ the network namespace, periodt.ifindexβ the network interface, slay.
πΈ DESCRIPTION πΈ
This is the hashing function for the network interface table. It returns the bucket number for the given interface. That's literally it, and it's iconic π β¨
π¦ SEE ALSO π¦
- Kernel file:
./security/selinux/netif.c sel_netif_find(9)sel_netif_insert(9)sel_netif_destroy(9)sel_netif_sid_slow(9)sel_netif_sid(9)sel_netif_kill(9)sel_netif_flush(9)
mwah π β this page came from ./security/selinux, dated October 2026, and it's the sel_netif_hashfn(9) manual. Bye bestie π«Ά
π¦ 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