Searched refs:xt_counters (Results 1 – 9 of 9) sorted by relevance
306 struct xt_counters *xt_counters_alloc(unsigned int counters);429 struct xt_counters *counter);430 void xt_percpu_counter_free(struct xt_counters *cnt);432 static inline struct xt_counters *433 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter()441 static inline struct xt_counters *442 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter()
29 #define arpt_counters xt_counters109 struct xt_counters counters;181 struct xt_counters __user *counters;
37 #define ipt_counters xt_counters121 struct xt_counters counters;203 struct xt_counters __user *counters;
37 #define ip6t_counters xt_counters125 struct xt_counters counters;243 struct xt_counters __user *counters;
221 struct xt_counters *counter; in arpt_do_table()491 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()594 struct xt_counters counters[]) in get_counters()605 struct xt_counters *tmp; in get_counters()624 struct xt_counters counters[]) in get_old_counters()632 struct xt_counters *tmp; in get_old_counters()642 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()645 struct xt_counters *counters; in alloc_counters()652 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()669 struct xt_counters *counters; in copy_entries_to_user()[all …]
284 struct xt_counters *counter; in ipt_do_table()634 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()744 struct xt_counters counters[]) in get_counters()755 struct xt_counters *tmp; in get_counters()774 struct xt_counters counters[]) in get_old_counters()782 const struct xt_counters *tmp; in get_old_counters()793 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()796 struct xt_counters *counters; in alloc_counters()802 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()820 struct xt_counters *counters; in copy_entries_to_user()[all …]
306 struct xt_counters *counter; in ip6t_do_table()652 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()761 struct xt_counters counters[]) in get_counters()772 struct xt_counters *tmp; in get_counters()791 struct xt_counters counters[]) in get_old_counters()799 const struct xt_counters *tmp; in get_old_counters()809 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()812 struct xt_counters *counters; in alloc_counters()818 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()836 struct xt_counters *counters; in copy_entries_to_user()[all …]
110 struct xt_counters { struct122 struct xt_counters counters[0]; argument
1091 size = sizeof(struct xt_counters); in xt_copy_counters_from_user()1342 struct xt_counters *xt_counters_alloc(unsigned int counters) in xt_counters_alloc()1344 struct xt_counters *mem; in xt_counters_alloc()1839 struct xt_counters *counter) in xt_percpu_counter_alloc()1862 void xt_percpu_counter_free(struct xt_counters *counters) in xt_percpu_counter_free()