Searched refs:xt_counters (Results 1 – 7 of 7) sorted by relevance
27 #define arpt_counters xt_counters107 struct xt_counters counters;179 struct xt_counters __user *counters;
35 #define ipt_counters xt_counters119 struct xt_counters counters;201 struct xt_counters __user *counters;
35 #define ip6t_counters xt_counters123 struct xt_counters counters;241 struct xt_counters __user *counters;
109 struct xt_counters { struct121 struct xt_counters counters[0]; argument
600 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()715 struct xt_counters counters[]) in get_counters()741 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()744 struct xt_counters *counters; in alloc_counters()751 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()768 struct xt_counters *counters; in copy_entries_to_user()996 struct xt_counters *counters; in __do_replace()1001 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()1046 sizeof(struct xt_counters) * num_counters) != 0) { in __do_replace()1076 if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) in do_replace()[all …]
763 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()880 struct xt_counters counters[]) in get_counters()906 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()909 struct xt_counters *counters; in alloc_counters()915 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()933 struct xt_counters *counters; in copy_entries_to_user()1183 struct xt_counters *counters; in __do_replace()1188 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()1233 sizeof(struct xt_counters) * num_counters) != 0) { in __do_replace()1263 if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) in do_replace()[all …]
777 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()893 struct xt_counters counters[]) in get_counters()919 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()922 struct xt_counters *counters; in alloc_counters()928 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()946 struct xt_counters *counters; in copy_entries_to_user()1196 struct xt_counters *counters; in __do_replace()1201 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()1246 sizeof(struct xt_counters) * num_counters) != 0) { in __do_replace()1276 if (tmp.num_counters >= INT_MAX / sizeof(struct xt_counters)) in do_replace()[all …]