Home
last modified time | relevance | path

Searched refs:xt_counters (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/include/uapi/linux/netfilter_arp/
Darp_tables.h27 #define arpt_counters xt_counters
107 struct xt_counters counters;
179 struct xt_counters __user *counters;
/linux-4.4.14/include/linux/netfilter/
Dx_tables.h383 void __percpu *res = __alloc_percpu(sizeof(struct xt_counters), in xt_percpu_counter_alloc()
384 sizeof(struct xt_counters)); in xt_percpu_counter_alloc()
400 static inline struct xt_counters *
401 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter()
409 static inline struct xt_counters *
410 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter()
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/
Dip_tables.h35 #define ipt_counters xt_counters
119 struct xt_counters counters;
201 struct xt_counters __user *counters;
/linux-4.4.14/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h35 #define ip6t_counters xt_counters
123 struct xt_counters counters;
241 struct xt_counters __user *counters;
/linux-4.4.14/net/ipv4/netfilter/
Darp_tables.c298 struct xt_counters *counter; in arpt_do_table()
618 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()
726 struct xt_counters counters[]) in get_counters()
737 struct xt_counters *tmp; in get_counters()
754 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
757 struct xt_counters *counters; in alloc_counters()
764 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
781 struct xt_counters *counters; in copy_entries_to_user()
1009 struct xt_counters *counters; in __do_replace()
1014 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()
[all …]
Dip_tables.c356 struct xt_counters *counter; in ipt_do_table()
780 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()
892 struct xt_counters counters[]) in get_counters()
903 struct xt_counters *tmp; in get_counters()
920 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
923 struct xt_counters *counters; in alloc_counters()
929 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
947 struct xt_counters *counters; in copy_entries_to_user()
1193 struct xt_counters *counters; in __do_replace()
1197 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()
[all …]
/linux-4.4.14/include/uapi/linux/netfilter/
Dx_tables.h109 struct xt_counters { struct
121 struct xt_counters counters[0]; argument
/linux-4.4.14/net/ipv6/netfilter/
Dip6_tables.c378 struct xt_counters *counter; in ip6t_do_table()
792 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()
904 struct xt_counters counters[]) in get_counters()
915 struct xt_counters *tmp; in get_counters()
932 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
935 struct xt_counters *counters; in alloc_counters()
941 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
959 struct xt_counters *counters; in copy_entries_to_user()
1205 struct xt_counters *counters; in __do_replace()
1209 counters = vzalloc(num_counters * sizeof(struct xt_counters)); in __do_replace()
[all …]
/linux-4.4.14/net/netfilter/
Dx_tables.c810 size = sizeof(struct xt_counters); in xt_copy_counters_from_user()