Searched refs:ADD_COUNTER (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/include/uapi/linux/netfilter/ ! |
D | x_tables.h | 108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0) macro
|
/linux-6.1.9/net/ipv4/netfilter/ ! |
D | arp_tables.c | 231 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() 1034 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
D | ip_tables.c | 300 ADD_COUNTER(*counter, skb->len, 1); in ipt_do_table() 764 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 783 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1189 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/linux-6.1.9/net/ipv6/netfilter/ ! |
D | ip6_tables.c | 323 ADD_COUNTER(*counter, skb->len, 1); in ip6t_do_table() 781 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 800 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1205 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/linux-6.1.9/net/bridge/netfilter/ ! |
D | ebtables.c | 237 ADD_COUNTER(*(counter_base + i), skb->len, 1); in ebt_do_table() 1003 ADD_COUNTER(counters[i], counter_base[i].bcnt, in get_counters() 1411 ADD_COUNTER(t->private->counters[i], tmp[i].bcnt, tmp[i].pcnt); in do_update_counters()
|