Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/netfilter/
H A Dx_tables.h108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) macro
/openbmc/linux/net/ipv4/netfilter/
H A Darp_tables.c231 ADD_COUNTER(*counter, arp_hdr_len(skb->dev), 1); in arpt_do_table()
623 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
642 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1038 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
H A Dip_tables.c298 ADD_COUNTER(*counter, skb->len, 1); in ipt_do_table()
762 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
781 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1190 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/openbmc/linux/net/ipv6/netfilter/
H A Dip6_tables.c321 ADD_COUNTER(*counter, skb->len, 1); in ip6t_do_table()
779 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
798 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1206 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/openbmc/linux/net/bridge/netfilter/
H A Debtables.c237 ADD_COUNTER(*(counter_base + i), skb->len, 1); in ebt_do_table()
1003 ADD_COUNTER(counters[i], counter_base[i].bcnt, in get_counters()
1413 ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); in do_update_counters()