Home
last modified time | relevance | path

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

/Linux-v6.6/net/netfilter/
Dxt_repldata.h19 unsigned int nhooks = hweight32(hook_mask); \
26 size_t term_offset = (offsetof(typeof(*tbl), entries[nhooks]) + \
35 tbl->repl.num_entries = nhooks + 1; \
36 tbl->repl.size = nhooks * sizeof(struct type##_standard) + \
Dcore.c107 unsigned int i, alloc_entries, nhooks, old_entries; in nf_hook_entries_grow() local
147 nhooks = 0; in nf_hook_entries_grow()
155 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()
156 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow()
159 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
160 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
161 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow()
164 nhooks++; in nf_hook_entries_grow()
168 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
169 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
[all …]