Searched refs:ipt_counters (Results 1 – 4 of 4) sorted by relevance
100 struct ipt_counters struct138 struct ipt_counters counters;255 struct ipt_counters *counters;270 struct ipt_counters counters[0];
767 e->counters = ((struct ipt_counters) { 0, 0 }); in check_entry_size_and_hooks()920 struct ipt_counters total[], in add_entry_to_counter()931 struct ipt_counters counters[]) in get_counters()953 struct ipt_counters *counters; in copy_entries_to_user()959 countersize = sizeof(struct ipt_counters) * table->private->number; in copy_entries_to_user()1060 struct ipt_counters *counters; in do_replace()1073 if (tmp.num_counters >= INT_MAX / sizeof(struct ipt_counters)) in do_replace()1091 counters = vmalloc(tmp.num_counters * sizeof(struct ipt_counters)); in do_replace()1096 memset(counters, 0, tmp.num_counters * sizeof(struct ipt_counters)); in do_replace()1139 sizeof(struct ipt_counters) * tmp.num_counters); in do_replace()[all …]
2417 struct ipt_counters *kern_counters;2437 …kern_counters = (struct ipt_counters *) kmalloc(kern_repl->num_counters * sizeof(struct ipt_counte…2460 kern_repl->num_counters * sizeof(struct ipt_counters)))
2908 struct ipt_counters *counters32; in do_netfilter_replace()2923 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()2938 counters32 = (struct ipt_counters *)AA( in do_netfilter_replace()2941 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()2942 krepl->counters = (struct ipt_counters *)vmalloc(kcountersize); in do_netfilter_replace()