Em Wed, Jun 13, 2001 at 12:14:18PM -0700, [EMAIL PROTECTED] escreveu:
> 
> Hi,
>   
>  I have one doubt.
> 
>   There is a list of the devices(net_device{} structures) maintained in kernel which 
>has all the interfaces initialised by that time. This list is refrenced by dev_base 
>variable.
> 
>  I need following info
> 
> 1) does kernel maintain a global variable which keeps the count of net_device{} in 
>above list?

not that I'm aware
 
> 2) Is this list modified(net_device{} added or deleted ) once it's initialised at 
>boot time?

Yes, think about loading a module for a network card, it will add one entry
(or more in some cases) to this list, or think about net aliases. Look at
register_netdevice in net/core/dev.c
 
- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to