Home
last modified time | relevance | path

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

/Linux-v5.4/include/uapi/linux/netfilter_bridge/
Debtables.h39 struct ebt_counter { struct
56 struct ebt_counter __user *counters; argument
72 struct ebt_counter *counters;
/Linux-v5.4/net/bridge/netfilter/
Debtables.c38 #define COUNTER_OFFSET(n) (SMP_ALIGN(n * sizeof(struct ebt_counter)))
39 #define COUNTER_BASE(c, n, cpu) ((struct ebt_counter *)(((char *)c) + \
186 struct ebt_counter *counter_base, *cb_base; in ebt_do_table()
946 static void get_counters(const struct ebt_counter *oldcounters, in get_counters()
947 struct ebt_counter *counters, unsigned int nentries) in get_counters()
950 struct ebt_counter *counter_base; in get_counters()
954 sizeof(struct ebt_counter) * nentries); in get_counters()
971 struct ebt_counter *counterstmp = NULL; in do_replace_finish()
1035 repl->num_counters * sizeof(struct ebt_counter))) { in do_replace_finish()
1090 NR_CPUS - SMP_CACHE_BYTES) / sizeof(struct ebt_counter)) in do_replace()
[all …]
/Linux-v5.4/include/linux/netfilter_bridge/
Debtables.h88 struct ebt_counter counters[0] ____cacheline_aligned;