Home
last modified time | relevance | path

Searched refs:ebt_counter (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/include/uapi/linux/netfilter_bridge/
Debtables.h39 struct ebt_counter { struct
56 struct ebt_counter __user *counters; argument
72 struct ebt_counter *counters;
/Linux-v6.6/net/bridge/netfilter/
Debtables.c39 #define COUNTER_OFFSET(n) (SMP_ALIGN(n * sizeof(struct ebt_counter)))
40 #define COUNTER_BASE(c, n, cpu) ((struct ebt_counter *)(((char *)c) + \
199 struct ebt_counter *counter_base, *cb_base; in ebt_do_table()
987 static void get_counters(const struct ebt_counter *oldcounters, in get_counters()
988 struct ebt_counter *counters, unsigned int nentries) in get_counters()
991 struct ebt_counter *counter_base; in get_counters()
995 sizeof(struct ebt_counter) * nentries); in get_counters()
1012 struct ebt_counter *counterstmp = NULL; in do_replace_finish()
1077 array_size(repl->num_counters, sizeof(struct ebt_counter)))) { in do_replace_finish()
1125 NR_CPUS - SMP_CACHE_BYTES) / sizeof(struct ebt_counter)) in do_replace()
[all …]
/Linux-v6.6/include/linux/netfilter_bridge/
Debtables.h88 struct ebt_counter counters[] ____cacheline_aligned;