title: net_device get_stats function, how to use?
body: <p>this is how the function looks like:</p>
  
  <pre><code>  struct net_device_stats* (*get_stats)(struct net_device *dev);
  </code></pre>
  
  <p>I simply need to call this function in my code and get it's results in a <code>net_device_stats</code> struct I declared earlier. Can anyone give a simple implementation code for this?</p>