hi all,
i m using a linux-2.6.11.1 kernel.
1) i wanna know,which .c file does the kernel 2.6.11 use as default driver to its lancard ???
2)i have a pointer of type struct net_device,which points to eth0,which i have obtained thru api
Code:
struct net_device *get_dev_by_name("eth0")
now i want to access the * priv pointer elements of this struct net_device structure,
though i have the address of *priv, i dont know the type of struct that *priv would be pointing to as it is a void pointer.
now if i wnt to access the datastructures of this pointer how can i do it?????
ANY INPUT IS APPRECIATED
regards