Home
last modified time | relevance | path

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

/linux/include/linux/netfilter/
H A Dx_tables.h317 struct xt_counters *xt_counters_alloc(unsigned int counters);
442 struct xt_counters *counter);
443 void xt_percpu_counter_free(struct xt_counters *cnt);
445 static inline struct xt_counters *
446 xt_get_this_cpu_counter(struct xt_counters *cnt) in xt_get_this_cpu_counter()
454 static inline struct xt_counters *
455 xt_get_per_cpu_counter(struct xt_counters *cnt, unsigned int cpu) in xt_get_per_cpu_counter()
/linux/include/uapi/linux/netfilter_arp/
H A Darp_tables.h29 #define arpt_counters xt_counters
109 struct xt_counters counters;
181 struct xt_counters __user *counters;
/linux/net/ipv4/netfilter/
H A Darp_tables.c234 struct xt_counters *counter; in arpt_do_table()
506 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()
612 struct xt_counters counters[]) in get_counters()
623 struct xt_counters *tmp; in get_counters()
642 struct xt_counters counters[]) in get_old_counters()
650 struct xt_counters *tmp; in get_old_counters()
660 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
663 struct xt_counters *counters; in alloc_counters()
670 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
687 struct xt_counters *counters; in copy_entries_to_user()
[all …]
/linux/include/uapi/linux/netfilter_ipv4/
H A Dip_tables.h37 #define ipt_counters xt_counters
121 struct xt_counters counters;
203 struct xt_counters __user *counters;
/linux/include/uapi/linux/netfilter_ipv6/
H A Dip6_tables.h37 #define ip6t_counters xt_counters
125 struct xt_counters counters;
243 struct xt_counters __user *counters;
/linux/net/ipv6/netfilter/
H A Dip6_tables.c302 struct xt_counters *counter; in ip6t_do_table()
648 e->counters = ((struct xt_counters) { 0, 0 }); in check_entry_size_and_hooks()
762 struct xt_counters counters[]) in get_counters()
773 struct xt_counters *tmp; in get_counters()
792 struct xt_counters counters[]) in get_old_counters()
800 const struct xt_counters *tmp; in get_old_counters()
810 static struct xt_counters *alloc_counters(const struct xt_table *table) in alloc_counters()
813 struct xt_counters *counters; in alloc_counters()
819 countersize = sizeof(struct xt_counters) * private->number; in alloc_counters()
837 struct xt_counters *counters; in copy_entries_to_user()
[all …]
/linux/include/uapi/linux/netfilter/
H A Dx_tables.h110 struct xt_counters { struct
122 struct xt_counters counters[]; argument
/linux/net/netfilter/
H A Dx_tables.c1198 size = sizeof(struct xt_counters); in xt_copy_counters()
1463 struct xt_counters *xt_counters_alloc(unsigned int counters) in xt_counters_alloc()
1465 struct xt_counters *mem; in xt_counters_alloc()
2121 struct xt_counters *counter) in xt_percpu_counter_alloc()
2144 void xt_percpu_counter_free(struct xt_counters *counters) in xt_percpu_counter_free()