Home
last modified time | relevance | path

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

/linux/net/netfilter/
A 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) + \
A Dcore.c107 unsigned int i, alloc_entries, nhooks, old_entries; in nf_hook_entries_grow() local
135 nhooks = 0; in nf_hook_entries_grow()
143 new_ops[nhooks] = (void *)orig_ops[i]; in nf_hook_entries_grow()
144 new->hooks[nhooks] = old->hooks[i]; in nf_hook_entries_grow()
147 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
148 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
149 new->hooks[nhooks].priv = reg->priv; in nf_hook_entries_grow()
152 nhooks++; in nf_hook_entries_grow()
156 new_ops[nhooks] = (void *)reg; in nf_hook_entries_grow()
157 new->hooks[nhooks].hook = reg->hook; in nf_hook_entries_grow()
[all …]

Completed in 5 milliseconds