Home
last modified time | relevance | path

Searched refs:arpt_counters (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/include/linux/netfilter_arp/
Darp_tables.h93 struct arpt_counters struct
132 struct arpt_counters counters;
208 struct arpt_counters *counters;
223 struct arpt_counters counters[0];
/linux-2.4.37.9/net/ipv4/netfilter/
Darp_tables.c609 e->counters = ((struct arpt_counters) { 0, 0 }); in check_entry_size_and_hooks()
746 struct arpt_counters total[], in add_entry_to_counter()
756 struct arpt_counters counters[]) in get_counters()
777 struct arpt_counters *counters; in copy_entries_to_user()
784 countersize = sizeof(struct arpt_counters) * table->private->number; in copy_entries_to_user()
865 struct arpt_counters *counters; in do_replace()
878 if (tmp.num_counters >= INT_MAX / sizeof(struct arpt_counters)) in do_replace()
896 counters = vmalloc(tmp.num_counters * sizeof(struct arpt_counters)); in do_replace()
901 memset(counters, 0, tmp.num_counters * sizeof(struct arpt_counters)); in do_replace()
944 sizeof(struct arpt_counters) * tmp.num_counters); in do_replace()
[all …]