kernels/linux-2.4.0/drivers/net/wan/sdla_fr.c
/*============================================================================
 * Get ethernet-style interface statistics.
 * Return a pointer to struct net_device_stats.
 */
Get ethernet-style interface statistics.
Return a pointer to struct net_device_stats.
Get ethernet - style interface statistics . Return a pointer to struct net_device_stats .
static struct net_device_stats* if_stats (struct net_device* dev)
{
	fr_channel_t* chan = dev->priv;
	if(chan == NULL)
		return NULL;
	return &chan->ifstats;
}
static struct net_device_stats * if_stats ( struct net_device * dev ) { fr_channel_t * chan = dev -> priv ; if ( chan == NULL ) return NULL ; return & chan -> ifstats ; }
Get ethernet-style interface statistics.
Get ethernet - style interface statistics .