Re: [systemd-devel] [PATCH 1/1] sd-rtnl: Introduce container parsing

2014-03-25 Thread Tom Gundersen
On Tue, Mar 25, 2014 at 3:16 AM, Susant Sahani wrote: >> I now pushed an alternative patch. Could you have a look if it makes >> sense to you? > > If am not wrong *sd_rtnl_message_enter_container* trying to parse > (rtnl_message_parse) > every time a attribute is requested which is inside nested a

Re: [systemd-devel] [PATCH 1/1] sd-rtnl: Introduce container parsing

2014-03-24 Thread Susant Sahani
On 03/24/2014 09:58 PM, Tom Gundersen wrote: On Sat, Mar 22, 2014 at 5:13 PM, Susant Sahani wrote: Introducing generic container parsing . Now supported for type FLA_INFO_KIND and IFLA_VLAN_ID which can be extended to other container parsing which is based on table based look up. --- src/lib

Re: [systemd-devel] [PATCH 1/1] sd-rtnl: Introduce container parsing

2014-03-24 Thread Tom Gundersen
On Sat, Mar 22, 2014 at 5:13 PM, Susant Sahani wrote: > Introducing generic container parsing . Now supported for type > FLA_INFO_KIND and IFLA_VLAN_ID which can be extended to other > container parsing which is based on table based look up. > --- > src/libsystemd/sd-rtnl/rtnl-internal.h | 20 ++

[systemd-devel] [PATCH 1/1] sd-rtnl: Introduce container parsing

2014-03-22 Thread Susant Sahani
Introducing generic container parsing . Now supported for type FLA_INFO_KIND and IFLA_VLAN_ID which can be extended to other container parsing which is based on table based look up. --- src/libsystemd/sd-rtnl/rtnl-internal.h | 20 + src/libsystemd/sd-rtnl/rtnl-message.c | 79