Home
last modified time | relevance | path

Searched refs:net_device_stats (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/linux-2.4.37.9/net/rose/
Drose_dev.c55 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in rose_rx_ip()
101 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in rose_rebuild_header()
163 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in rose_xmit()
174 static struct net_device_stats *rose_get_stats(struct net_device *dev) in rose_get_stats()
176 return (struct net_device_stats *)dev->priv; in rose_get_stats()
196 if ((dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL)) == NULL) in rose_init()
199 memset(dev->priv, 0, sizeof(struct net_device_stats)); in rose_init()
/linux-2.4.37.9/net/netrom/
Dnr_dev.c61 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in nr_rx_ip()
88 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in nr_rebuild_header()
201 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in nr_xmit()
207 static struct net_device_stats *nr_get_stats(struct net_device *dev) in nr_get_stats()
209 return (struct net_device_stats *)dev->priv; in nr_get_stats()
229 if ((dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL)) == NULL) in nr_init()
232 memset(dev->priv, 0, sizeof(struct net_device_stats)); in nr_init()
/linux-2.4.37.9/drivers/net/
Dloopback.c63 struct net_device_stats *stats = (struct net_device_stats *)dev->priv; in loopback_xmit()
100 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
102 return (struct net_device_stats *)dev->priv; in get_stats()
120 dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL); in loopback_init()
123 memset(dev->priv, 0, sizeof(struct net_device_stats)); in loopback_init()
Ddummy.c38 static struct net_device_stats *dummy_get_stats(struct net_device *dev);
56 dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL); in dummy_init()
59 memset(dev->priv, 0, sizeof(struct net_device_stats)); in dummy_init()
79 struct net_device_stats *stats = dev->priv; in dummy_xmit()
88 static struct net_device_stats *dummy_get_stats(struct net_device *dev) in dummy_get_stats()
Dde620.c220 static struct net_device_stats *get_stats(struct net_device *);
488 static struct net_device_stats *get_stats(struct net_device *dev) in get_stats()
490 return (struct net_device_stats *)(dev->priv); in get_stats()
588 ((struct net_device_stats *)(dev->priv))->tx_packets++; in de620_start_xmit()
669 ((struct net_device_stats *)(dev->priv))->rx_over_errors++; in de620_rx_intr()
689 ((struct net_device_stats *)(dev->priv))->rx_over_errors++; in de620_rx_intr()
703 ((struct net_device_stats *)(dev->priv))->rx_dropped++; in de620_rx_intr()
717 ((struct net_device_stats *)(dev->priv))->rx_packets++; in de620_rx_intr()
718 ((struct net_device_stats *)(dev->priv))->rx_bytes += size; in de620_rx_intr()
825 static struct net_device_stats de620_netstats; in de620_probe()
[all …]
Dde600.c254 static struct net_device_stats *get_stats(struct net_device *dev);
378 static struct net_device_stats *
381 return (struct net_device_stats *)(dev->priv); in get_stats()
553 ((struct net_device_stats *)(dev->priv))->tx_packets++; in de600_tx_intr()
629 ((struct net_device_stats *)(dev->priv))->rx_packets++; /* count all receives */ in de600_rx_intr()
630 ((struct net_device_stats *)(dev->priv))->rx_bytes += size; /* count all received bytes */ in de600_rx_intr()
643 static struct net_device_stats de600_netstats; in de600_probe()
705 memset(dev->priv, 0, sizeof(struct net_device_stats)); in de600_probe()
D7990.h117 struct net_device_stats stats;
252 extern struct net_device_stats *lance_get_stats (struct net_device *dev);
Dethertap.c40 static struct net_device_stats *ethertap_get_stats(struct net_device *dev);
60 struct net_device_stats stats;
329 static struct net_device_stats *ethertap_get_stats(struct net_device *dev) in ethertap_get_stats()
/linux-2.4.37.9/net/irda/
Dwrapper.c41 struct net_device_stats *stats,
44 struct net_device_stats *stats,
47 struct net_device_stats *stats,
50 struct net_device_stats *stats,
53 static void (*state[])(struct net_device *dev, struct net_device_stats *stats,
172 inline void async_bump(struct net_device *dev, struct net_device_stats *stats, in async_bump()
207 struct net_device_stats *stats, in async_unwrap_char()
220 struct net_device_stats *stats, in state_outside_frame()
247 struct net_device_stats *stats, in state_begin_frame()
285 struct net_device_stats *stats, in state_link_escape()
[all …]
/linux-2.4.37.9/net/core/
Dprofile.c147 struct net_device_stats *stats; in whitehole_xmit()
149 stats = (struct net_device_stats *)dev->priv; in whitehole_xmit()
182 struct net_device_stats *stats = (struct net_device_stats *)whitehole_dev.priv; in whitehole_inject()
208 static struct net_device_stats *whitehole_get_stats(struct net_device *dev) in whitehole_get_stats()
210 struct net_device_stats *stats = (struct net_device_stats *) dev->priv; in whitehole_get_stats()
216 dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL); in whitehole_init()
219 memset(dev->priv, 0, sizeof(struct net_device_stats)); in whitehole_init()
/linux-2.4.37.9/drivers/net/appletalk/
Dipddp.c51 static struct net_device_stats *ipddp_get_stats(struct net_device *dev);
81 dev->priv = kmalloc(sizeof(struct net_device_stats), GFP_KERNEL); in ipddp_init()
84 memset(dev->priv,0,sizeof(struct net_device_stats)); in ipddp_init()
106 static struct net_device_stats *ipddp_get_stats(struct net_device *dev) in ipddp_get_stats()
173 ((struct net_device_stats *) dev->priv)->tx_packets++; in ipddp_xmit()
174 ((struct net_device_stats *) dev->priv)->tx_bytes+=skb->len; in ipddp_xmit()
Dltpc.c264 struct net_device_stats stats;
706 static struct net_device_stats *ltpc_get_stats(struct net_device *dev);
733 struct net_device_stats *stats = &((struct ltpc_private *)dev->priv)->stats; in sendup_buffer()
946 struct net_device_stats *stats = &((struct ltpc_private *)dev->priv)->stats; in ltpc_xmit()
980 static struct net_device_stats *ltpc_get_stats(struct net_device *dev) in ltpc_get_stats()
982 struct net_device_stats *stats = &((struct ltpc_private *) dev->priv)->stats; in ltpc_get_stats()
/linux-2.4.37.9/include/net/irda/
Dwrapper.h55 void async_bump(struct net_device *dev, struct net_device_stats *stats,
57 void async_unwrap_char(struct net_device *dev, struct net_device_stats *stats,
Dirlan_eth.h38 struct net_device_stats *irlan_eth_get_stats(struct net_device *dev);
Dirtty.h53 struct net_device_stats stats;
/linux-2.4.37.9/include/linux/
Dif_shaper.h27 struct net_device_stats stats;
40 struct net_device_stats* (*get_stats)(struct net_device *dev);
Dif_frad.h157 struct net_device_stats stats;
168 struct net_device_stats stats;
Dif_vlan.h112 struct net_device_stats dev_stats; /* Device stats (rx-bytes, tx-pkts, etc...) */
119 static inline struct net_device_stats *vlan_dev_get_stats(struct net_device *dev) in vlan_dev_get_stats()
149 struct net_device_stats *stats; in __vlan_hwaccel_rx()
/linux-2.4.37.9/arch/cris/drivers/lpslave/
De100lpslavenet.c81 struct net_device_stats stats;
130 static struct net_device_stats *e100_get_stats(struct net_device *dev);
133 static void update_rx_stats(struct net_device_stats *);
134 static void update_tx_stats(struct net_device_stats *);
845 update_rx_stats(struct net_device_stats *es) in update_rx_stats()
856 update_tx_stats(struct net_device_stats *es) in update_tx_stats()
868 static struct net_device_stats *
/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_dev.h166 struct net_device_stats statistics;
215 struct net_device_stats *islpci_statistics(struct net_device *);
/linux-2.4.37.9/drivers/net/wan/
Dcomx.h67 struct net_device_stats stats;
68 struct net_device_stats *current_stats;
/linux-2.4.37.9/arch/ia64/drivers/
Dsimeth.c48 struct net_device_stats stats;
57 static struct net_device_stats *simeth_get_stats(struct net_device *dev);
513 static struct net_device_stats *
/linux-2.4.37.9/net/ipv4/
Dipmr.c172 ((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()
[all …]
/linux-2.4.37.9/drivers/net/wan/8253x/
Dring.h23 #define net_device_stats enet_statistics macro
/linux-2.4.37.9/drivers/net/fc/
Diph5526_ip.h15 static struct net_device_stats * iph5526_get_stats(struct net_device *dev);

12345678910>>...14