Lines Matching refs:net_device_stats
172 ((struct net_device_stats*)dev->priv)->tx_bytes += skb->len; in reg_vif_xmit()
173 ((struct net_device_stats*)dev->priv)->tx_packets++; in reg_vif_xmit()
180 static struct net_device_stats *reg_vif_get_stats(struct net_device *dev) in reg_vif_get_stats()
182 return (struct net_device_stats*)dev->priv; in reg_vif_get_stats()
192 size = sizeof(*dev) + sizeof(struct net_device_stats); in ipmr_reg_vif()
1144 ((struct net_device_stats*)vif->dev->priv)->tx_bytes += skb->len; in ipmr_queue_xmit()
1145 ((struct net_device_stats*)vif->dev->priv)->tx_packets++; in ipmr_queue_xmit()
1450 ((struct net_device_stats*)reg_dev->priv)->rx_bytes += skb->len; in pim_rcv_v1()
1451 ((struct net_device_stats*)reg_dev->priv)->rx_packets++; in pim_rcv_v1()
1513 ((struct net_device_stats*)reg_dev->priv)->rx_bytes += skb->len; in pim_rcv()
1514 ((struct net_device_stats*)reg_dev->priv)->rx_packets++; in pim_rcv()