Home
last modified time | relevance | path

Searched refs:ADD_COUNTER (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/include/uapi/linux/netfilter/
Dx_tables.h108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) macro
/Linux-v4.19/net/ipv4/netfilter/
Darp_tables.c229 ADD_COUNTER(*counter, arp_hdr_len(skb->dev), 1); in arpt_do_table()
616 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
635 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1030 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
Dip_tables.c302 ADD_COUNTER(*counter, skb->len, 1); in ipt_do_table()
766 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
785 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1193 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/Linux-v4.19/net/ipv6/netfilter/
Dip6_tables.c325 ADD_COUNTER(*counter, skb->len, 1); in ip6t_do_table()
783 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
802 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1209 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/Linux-v4.19/net/bridge/netfilter/
Debtables.c232 ADD_COUNTER(*(counter_base + i), 1, skb->len); in ebt_do_table()
1000 ADD_COUNTER(counters[i], counter_base[i].pcnt, in get_counters()
1336 ADD_COUNTER(t->private->counters[i], tmp[i].pcnt, tmp[i].bcnt); in do_update_counters()