Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/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.1.27/include/uapi/linux/netfilter/
Dx_tables.h109 struct xt_counters { struct
121 struct xt_counters counters[0]; argument
/linux-4.1.27/net/ipv4/netfilter/
Darp_tables.c600 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 …]
Dip_tables.c763 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 …]
/linux-4.1.27/net/ipv6/netfilter/
Dip6_tables.c777 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 …]