[pso] for_each_netdev

Bogdan Tenea tenea.bogdan at gmail.com
Sat Jun 13 13:29:03 EEST 2009


Incerc sa descopar toate placile de retea dintr-un sistem insa am observat
ca pentru asta functia for_each_netdev necesita un struct net * (network
namespace).
Exista o functie ce itereaza toate namespaceurile (for_each_net) insa nu
vrea sa compileze decat daca la MODULE_LICENSE am trecut GPL (foloseste
net_namespace_list).

Am vreo solutie mai simpla sa iterez placile de retea ?

Multumesc,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/pso/attachments/20090613/edf9eb3f/attachment.htm>


More information about the pso mailing list