/linux-2.4.37.9/net/rose/ |
D | rose_dev.c | 55 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/ |
D | nr_dev.c | 61 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/ |
D | loopback.c | 63 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()
|
D | dummy.c | 38 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()
|
D | de620.c | 220 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 …]
|
D | de600.c | 254 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()
|
D | 7990.h | 117 struct net_device_stats stats; 252 extern struct net_device_stats *lance_get_stats (struct net_device *dev);
|
D | ethertap.c | 40 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/ |
D | wrapper.c | 41 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/ |
D | profile.c | 147 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/ |
D | ipddp.c | 51 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()
|
D | ltpc.c | 264 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/ |
D | wrapper.h | 55 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,
|
D | irlan_eth.h | 38 struct net_device_stats *irlan_eth_get_stats(struct net_device *dev);
|
D | irtty.h | 53 struct net_device_stats stats;
|
/linux-2.4.37.9/include/linux/ |
D | if_shaper.h | 27 struct net_device_stats stats; 40 struct net_device_stats* (*get_stats)(struct net_device *dev);
|
D | if_frad.h | 157 struct net_device_stats stats; 168 struct net_device_stats stats;
|
D | if_vlan.h | 112 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/ |
D | e100lpslavenet.c | 81 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/ |
D | islpci_dev.h | 166 struct net_device_stats statistics; 215 struct net_device_stats *islpci_statistics(struct net_device *);
|
/linux-2.4.37.9/drivers/net/wan/ |
D | comx.h | 67 struct net_device_stats stats; 68 struct net_device_stats *current_stats;
|
/linux-2.4.37.9/arch/ia64/drivers/ |
D | simeth.c | 48 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/ |
D | ipmr.c | 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() [all …]
|
/linux-2.4.37.9/drivers/net/wan/8253x/ |
D | ring.h | 23 #define net_device_stats enet_statistics macro
|
/linux-2.4.37.9/drivers/net/fc/ |
D | iph5526_ip.h | 15 static struct net_device_stats * iph5526_get_stats(struct net_device *dev);
|