Home
last modified time | relevance | path

Searched refs:tstats (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/net/ipv4/
Dipip.c159 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipip_get_stats() local
161 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() local
409 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 …]
Dip_gre.c182 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipgre_get_stats() local
184 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() local
673 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 …]
/linux-2.6.39/net/ipv6/
Dsit.c102 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ipip6_get_stats() local
104 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() local
597 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 …]
Dip6_tunnel.c104 const struct pcpu_tstats *tstats = per_cpu_ptr(dev->tstats, i); in ip6_get_stats() local
106 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() local
764 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 …]
/linux-2.6.39/Documentation/networking/
Dgen_stats.txt25 mystruct->tstats.packet++;
/linux-2.6.39/include/linux/
Dnetdevice.h1307 struct pcpu_tstats __percpu *tstats; /* tunnel stats */ member