Hi Sree,

>    In connection manager, it is mentioned that network interface will be
>    detected via RTNL.
>    When I was going through the source code of connman 0.46, in
>    main()(src/main.c)
>    both udev and rtnl initialization is done with the functions
>    __connman_udev_init() and __connman_rtnl_init().
>    __connman_udev_init() is present in udev.c and udev-compat.c.
>    My question is why do we require both udev and rtnl?
>    As there are udev.c and udev-compat.c, which file to be considered.?
>    Could you please explain how exactly the network interface is detected
>    in connection manager.

in case udev is available, we use udev for device detection. The RTNL
code is only used for interface monitoring in that case. If udev is not
available we even use RTNL for device detection. If udev is available,
we have the advantage of device classification and we will see that even
more with 2.6.33 kernels and later.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to