Home
last modified time | relevance | path

Searched refs:num_hooks (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/net/netfilter/
Dx_tables.c1735 uint8_t i, num_hooks = hweight32(hook_mask); in xt_hook_ops_alloc() local
1739 if (!num_hooks) in xt_hook_ops_alloc()
1742 ops = kcalloc(num_hooks, sizeof(*ops), GFP_KERNEL); in xt_hook_ops_alloc()
1746 for (i = 0, hooknum = 0; i < num_hooks && hook_mask != 0; in xt_hook_ops_alloc()