as per <linux/netdevice.h> , there is this line:
struct net_device_stats* (*get_stats)(struct net_device *dev);
if im reading this right, it means:
"a ptr to a function 'get_stats' thats takes a ptr to the struct as argument and returns a ptr to the other struct"
if im wrong someone pls correct me.
provided im right, my question is - where is this function "get_stats" that is to be called, defined?
thanks in advance.