[ovs-discuss] Registering a NetDev provider.
Justin Pettit
jpettit at nicira.com
Mon Apr 18 14:59:22 UTC 2011
I believe you are looking for "lib/netdev.c":
-=-=-=-=-=-=-=-=-
static void
netdev_initialize(void)
{
...
#ifdef HAVE_NETLINK
netdev_register_provider(&netdev_linux_class);
netdev_register_provider(&netdev_internal_class);
netdev_register_provider(&netdev_tap_class);
netdev_vport_register();
#endif
}
}
-=-=-=-=-=-=-=-=-
For future reference, this kind of "in the guts" question may be more suitable for the "dev at openvswitch.org" mailing list, since "discuss" is more often used by end-users.
--Justin
On Apr 18, 2011, at 7:19 AM, WAQAR ul haq wrote:
> Hi,
>
>
> I am working on OpenVsitch and up till now understood few concepts and few are still confusing me I hope you do not find the question trivial but this is how it goes, I have a question related to NetdeV provider registration code. How do you register Netdev-Linux class or a net-dev provider to be exact. if you can specify the place where it is getting registered and guide me if I change that Linux-class with my custom designed class will that work??
>
> Thanks
>
> --
> Regards,
> WAQAR ul Haq
> 0092-343-5346397
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
More information about the discuss
mailing list