Home
last modified time | relevance | path

Searched refs:ipt_counters (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_tables.h100 struct ipt_counters struct
138 struct ipt_counters counters;
255 struct ipt_counters *counters;
270 struct ipt_counters counters[0];
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_tables.c767 e->counters = ((struct ipt_counters) { 0, 0 }); in check_entry_size_and_hooks()
920 struct ipt_counters total[], in add_entry_to_counter()
931 struct ipt_counters counters[]) in get_counters()
953 struct ipt_counters *counters; in copy_entries_to_user()
959 countersize = sizeof(struct ipt_counters) * table->private->number; in copy_entries_to_user()
1060 struct ipt_counters *counters; in do_replace()
1073 if (tmp.num_counters >= INT_MAX / sizeof(struct ipt_counters)) in do_replace()
1091 counters = vmalloc(tmp.num_counters * sizeof(struct ipt_counters)); in do_replace()
1096 memset(counters, 0, tmp.num_counters * sizeof(struct ipt_counters)); in do_replace()
1139 sizeof(struct ipt_counters) * tmp.num_counters); in do_replace()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dsys_parisc32.c2417 struct ipt_counters *kern_counters;
2437 …kern_counters = (struct ipt_counters *) kmalloc(kern_repl->num_counters * sizeof(struct ipt_counte…
2460 kern_repl->num_counters * sizeof(struct ipt_counters)))
/linux-2.4.37.9/arch/sparc64/kernel/
Dsys_sparc32.c2908 struct ipt_counters *counters32; in do_netfilter_replace()
2923 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()
2938 counters32 = (struct ipt_counters *)AA( in do_netfilter_replace()
2941 kcountersize = krepl->num_counters * sizeof(struct ipt_counters); in do_netfilter_replace()
2942 krepl->counters = (struct ipt_counters *)vmalloc(kcountersize); in do_netfilter_replace()