[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.6.x kernels - use of exported symbols/functions
On Monday 09 February 2004 13:42, Kiran Kumar wrote:
> --- Shine Mohamed <shinemohamed_j@naturesoft.net>
>
> wrote:
> > All the network devices are strored in a linked list
> > with the head node dev_base.
> >
> > dev_base is a global variable of type struct
> > net_device *
> > and should be accessed using a read/write lock,
> > dev_base_lock.
> > (If in uniprocessor machine lock doesn't matter).
> >
> > Parsing through the list u can find the appropriate
> > network
> > device ( one way is identifying by the name such
> > eth0,..
> > in the name field).
>
> There is a dev_get_by_name() function which does
> this.
Now only I came to know abt this function...
Thanks for the info...
Regards,
Shine Mohamed
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/