STRUCT NET_PREFIX(9)
πΈ struct net_prefix(9) πΈ
okay bestie, welcome to the Kernel API Manual glow-up β¨ this one is literally all about struct net_prefix β the representation of a network prefix π
β¨ NAME β¨
struct net_prefix β representation of a network prefix π
π» SYNOPSIS π»
struct net_prefix {
u32 cidr:8;
u32 count:24;
};
π Members π
cidrβ the CIDR prefix length πcountβ number of occurrences π₯
π¦ SEE ALSO π¦
- Kernel file
./net/netfilter/ipset/ip_set_hash_gen.h struct net_prefixes(9)mtype_add_cidr(9)mtype_del_cidr(9)
periodt π
this page is brought to you by the ./net/netfilter/ipset source, dated October 2026 β mwah, go off 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