Searched refs:tstats (Results 1 – 6 of 6) sorted by relevance
159 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipip_get_stats() local161 sum.rx_packets += tstats->rx_packets; in ipip_get_stats()162 sum.rx_bytes += tstats->rx_bytes; in ipip_get_stats()163 sum.tx_packets += tstats->tx_packets; in ipip_get_stats()164 sum.tx_bytes += tstats->tx_bytes; in ipip_get_stats()394 struct pcpu_tstats *tstats; in ipip_rcv() local409 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipip_rcv()410 tstats->rx_packets++; in ipip_rcv()411 tstats->rx_bytes += skb->len; in ipip_rcv()435 struct pcpu_tstats *tstats; in ipip_tunnel_xmit() local[all …]
182 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipgre_get_stats() local184 sum.rx_packets += tstats->rx_packets; in ipgre_get_stats()185 sum.rx_bytes += tstats->rx_bytes; in ipgre_get_stats()186 sum.tx_packets += tstats->tx_packets; in ipgre_get_stats()187 sum.tx_bytes += tstats->tx_bytes; in ipgre_get_stats()615 struct pcpu_tstats *tstats; in ipgre_rcv() local673 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipgre_rcv()674 tstats->rx_packets++; in ipgre_rcv()675 tstats->rx_bytes += skb->len; in ipgre_rcv()699 struct pcpu_tstats *tstats; in ipgre_tunnel_xmit() local[all …]
102 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipip6_get_stats() local104 sum.rx_packets += tstats->rx_packets; in ipip6_get_stats()105 sum.rx_bytes += tstats->rx_bytes; in ipip6_get_stats()106 sum.tx_packets += tstats->tx_packets; in ipip6_get_stats()107 sum.tx_bytes += tstats->tx_bytes; in ipip6_get_stats()580 struct pcpu_tstats *tstats; in ipip6_rcv() local597 tstats = this_cpu_ptr(tunnel->dev->tstats); in ipip6_rcv()598 tstats->rx_packets++; in ipip6_rcv()599 tstats->rx_bytes += skb->len; in ipip6_rcv()666 struct pcpu_tstats *tstats; in ipip6_tunnel_xmit() local[all …]
104 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ip6_get_stats() local106 sum.rx_packets += tstats->rx_packets; in ip6_get_stats()107 sum.rx_bytes += tstats->rx_bytes; in ip6_get_stats()108 sum.tx_packets += tstats->tx_packets; in ip6_get_stats()109 sum.tx_bytes += tstats->tx_bytes; in ip6_get_stats()248 free_percpu(dev->tstats); in ip6_dev_free()740 struct pcpu_tstats *tstats; in ip6_tnl_rcv() local764 tstats = this_cpu_ptr(t->dev->tstats); in ip6_tnl_rcv()765 tstats->rx_packets++; in ip6_tnl_rcv()766 tstats->rx_bytes += skb->len; in ip6_tnl_rcv()[all …]
25 mystruct->tstats.packet++;
1307 struct pcpu_tstats __percpu *tstats; /* tunnel stats */ member